yarn sass 1.4.0
Dart Sass 1.4.0

latest releases: 1.75.0, 1.74.1, 1.72.0...
5 years ago

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 in templates/stylesheets to CSS files in public/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() and AsyncImporter.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 the outFile option is not set.

See the full changelog for changes in earlier releases.

Don't miss a new sass release

NewReleases is sending notifications on new releases.