tldr/pages/common/sass.md

20 lines
529 B
Markdown
Raw Normal View History

2016-01-04 18:29:19 +00:00
# Sass
> Converts SCSS or Sass files to CSS.
2016-01-04 18:29:19 +00:00
- Output converted file to stdout:
2016-01-04 18:29:19 +00:00
`sass {{inputfile.(scss|sass)}}`
2016-01-04 18:29:19 +00:00
- Immediately convert SCSS or Sass file to CSS to specified output file:
2016-01-04 18:29:19 +00:00
`sass {{inputfile.(scss|sass)}} {{outputfile.css}}`
- Watch SCSS or Sass file for changes and output or update CSS file with same filename:
`sass --watch {{inputfile.(scss|sass)}}`
- Watch SCSS or Sass file for changes and output or update CSS file with specified filename:
`sass --watch {{inputfile.(scss|sass)}}:{{outputfile.css}}`