tldr/pages/common/sass.md
2016-01-08 09:38:59 +01:00

529 B

Sass

Converts SCSS or Sass files to CSS.

  • Output converted file to stdout:

sass {{inputfile.(scss|sass)}}

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

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}}