Sourced from sass's releases.
Dart Sass 1.71.0
To install Sass 1.71.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
For more information about
pkg:importers, see the announcement on the Sass blog.Command-Line Interface
- Add a
--pkg-importerflag to enable built-inpkg:importers. Currently this only supports the Node.js package resolution algorithm, via--pkg-importer=node. For example,@use "pkg:bootstrap"will loadnode_modules/bootstrap/scss/bootstrap.scss.JavaScript API
- Add a
NodePackageImporterimporter that can be passed to theimportersoption. This loads files using thepkg:URL scheme according to the Node.js package resolution algorithm. For example,@use "pkg:bootstrap"will loadnode_modules/bootstrap/scss/bootstrap.scss. The constructor takes a single optional argument, which indicates the base directory to use when locatingnode_modulesdirectories. It defaults topath.dirname(require.main.filename).Dart API
- Add a
NodePackageImporterimporter that can be passed to theimportersoption. This loads files using thepkg:URL scheme according to the Node.js package resolution algorithm. For example,@use "pkg:bootstrap"will loadnode_modules/bootstrap/scss/bootstrap.scss. The constructor takes a single argument, which indicates the base directory to use when locatingnode_modulesdirectories.See the full changelog for changes in earlier releases.
Sourced from sass's changelog.
1.71.0
For more information about
pkg:importers, see the announcement on the Sass blog.Command-Line Interface
- Add a
--pkg-importerflag to enable built-inpkg:importers. Currently this only supports the Node.js package resolution algorithm, via--pkg-importer=node. For example,@use "pkg:bootstrap"will loadnode_modules/bootstrap/scss/bootstrap.scss.JavaScript API
- Add a
NodePackageImporterimporter that can be passed to theimportersoption. This loads files using thepkg:URL scheme according to the Node.js package resolution algorithm. For example,@use "pkg:bootstrap"will loadnode_modules/bootstrap/scss/bootstrap.scss. The constructor takes a single optional argument, which indicates the base directory to use when locatingnode_modulesdirectories. It defaults topath.dirname(require.main.filename).Dart API
- Add a
NodePackageImporterimporter that can be passed to theimportersoption. This loads files using thepkg:URL scheme according to the Node.js package resolution algorithm. For example,@use "pkg:bootstrap"will loadnode_modules/bootstrap/scss/bootstrap.scss. The constructor takes a single argument, which indicates the base directory to use when locatingnode_modulesdirectories.
3e6721e Fix new static warnings with Dart 3.3 (#2173)2cab33e Update the language revision in Homebrew on release (#2171)84ededd Use musl support in cli_pkg (#2172)00571ec Add a --pkg-importer flag (#2169)84f31f0 Update pubspec/changelog for pkg: importers (#2168)9ee5408 [Package Importer] Dart Implementation (#2130)9423aa5 Use macos-14 runner instead of macos-latest-xlarge runner (#2167)bbf97b4 Remove the sass dependency from package.json (#2162)