yarn sass 1.36.0
Dart Sass 1.36.0

latest releases: 1.81.0, 1.80.7, 1.80.6...
3 years ago

To install Sass 1.36.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.

Changes

Dart API

  • Added compileToResult(), compileStringToResult(), compileToResultAsync(), and compileStringToResultAsync() methods. These are intended to replace the existing compile*() methods, which are now deprecated. Rather than returning a simple string, these return a CompileResult object, which will allow us to add additional information about the compilation without having to introduce further deprecations.

    • Instead of passing a sourceMaps callback to compile*(), pass sourceMaps: true to compile*ToResult() and access CompileResult.sourceMap.

    • The CompileResult object exposes a loadedUrls object which lists the canonical URLs accessed during a compilation. This information was previously unavailable except through the JS API.

See the full changelog for changes in earlier releases.

Don't miss a new sass release

NewReleases is sending notifications on new releases.