tldr/pages/common/sass.md
Aarin Smith 0b1f296b87 Updated sass to documented syntax. Added commands for non-specified naming
Signed-off-by: Aarin Smith <aarinsmith@Aarins-MacBook-Pro.local>
2016-01-04 12:21:59 -08:00

620 B

Sass

Converts SCSS or Sass files to CSS .scss and .sass can be used interchangeably in below examples depending on your preference

  • Immediately convert scss file and output css with same filename

sass {{inputfile}}.scss

  • Immediately convert SCSS or Sass file to CSS to specified output file

sass {{inputfile}}.scss {{outputfile}}.css

  • Watch SCSS or Sass file for changes and output or update CSS file with same filename

sass --watch {{inputfile}}.scss

  • Watch SCSS or Sass file for changes and output or update CSS file with specified filename

sass --watch {{inputfile}}.scss:{{outputfile}}.css