Repository navigation
Releases
v17.1.0
Minor Changes
- Resolve a
data:resource from the loader's context, readingtext/x-sassas the indented syntax. (by @alexander-akait in #1352)
v17.0.1
Patch Changes
- Remove the byte order mark (BOM) from the compiled CSS.
dart-sassprepends it when the compiled CSS contains non ASCII characters and thestyleoption iscompressed(the default for theproductionmode), but a BOM is only valid at the very beginning of a file - tools likecss-loadermove@importat-rules above it, so it ended up in the middle of the generated CSS and broke the rule after it. Source maps are shifted accordingly. (by @alexander-akait in #1337)
v17.0.0
Major Changes
-
Add
"auto"to theapioption and make it the default. When the Sass implementation supports the modern compiler,"auto"enables it and reuses a single long-running compiler across files, which significantly improves build performance; otherwise it falls back to themodernAPI. (by @alexander-akait in #1319) -
Remove
node-sasssupport. (by @alexander-akait in #1316) -
Minimum supported NodeJS version is
22.11.0. (by @alexander-akait in #1318) -
Convert source to native ECMAScript modules. The package now declares
"type": "module"and exposes both an ESM and a CommonJS build via theexportsfield. CommonJS consumers continue to work viarequire, and ESM consumers can nowimportthe loader directly. (by @alexander-akait in #1322) -
Remove legacy Sass JS API support. (by @alexander-akait in #1316)
Minor Changes
- Added types. (by @alexander-akait in #1312)
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
v16.0.8
v16.0.7
v16.0.6
Bug Fixes
- cache fs calls for modern API