Dart Sass 1.4.0
To install Dart Sass 1.4.0, download one of the packages above and add it to your PATH, or see the Sass website for full installation instructions.
Changes
-
Improve the error message for invalid semicolons in the indented syntax.
-
Properly disallow semicolons after declarations in the indented syntax.
Command-Line Interface
-
Add support for compiling multiple files at once by writing
sass input.scss:output.css
. Note that unlike Ruby Sass, this always compiles files by default regardless of when they were modified.This syntax also supports compiling entire directories at once. For example,
sass templates/stylesheets:public/css
compiles all non-partial Sass files intemplates/stylesheets
to CSS files inpublic/css
. -
Add an
--update
flag that tells Sass to compile only stylesheets that have been (transitively) modified since the CSS file was generated.
Dart API
- Add
Importer.modificationTime()
andAsyncImporter.modificationTime()
which report the last time a stylesheet was modified.
Node API
- Generate source maps when the
sourceMaps
option is set to a string and theoutFile
option is not set.
See the full changelog for changes in earlier releases.