Releases: webpack/sass-loader
Releases · webpack/sass-loader
v10.0.1
v10.0.0-rc.0
10.0.0-rc.0 (2020-08-24)
⚠ BREAKING CHANGES
- loader generates absolute
sourcesin source maps, also avoids modifyingsasssource maps if thesourceMapoption isfalse
v10.0.0
10.0.0 (2020-08-24)
Bug Fixes
- handle absolute windows path in source maps
See notes for https://github.com/webpack-contrib/sass-loader/releases/tag/v10.0.0-rc.0 release
v9.0.3
v9.0.2
v9.0.1
v9.0.0
9.0.0 (2020-07-02)
⚠ BREAKING CHANGES
- minimum supported Nodejs version is
10.13 - prefer
sass(dart-sass) by default, it is strongly recommended to migrate onsass(dart-sass) - the
prependDataoption was removed in favor theadditionalDataoption, see docs - when the
sourceMapistrue,sassOptions.sourceMap,sassOptions.sourceMapContents,sassOptions.sourceMapEmbed,sassOptions.sourceMapRootandsassOptions.omitSourceMapUrlwill be ignored.
Features
- pass the loader context to custom importers under the
this.webpackLoaderContextproperty (#853) (d487683) - supports for
process.cwd()resolution logic by default (#837) (0c8d3b3) - supports for
SASS-PATHenv variable resolution logic by default (#836) (8376179) - supports for the
sassproperty for theexportsfield frompackage.json(conditional exports, for more information read docs)
Bug Fixes
- avoid different content on different os (#832) (68dd278)
- resolution logic when the
includePathsoption used was improved (#827) (cbe5ad4) - resolution logic for
file://scheme was improved (17832fd) - resolution logic for absolute paths and server relative URLs was improved
- source maps generation was improved
v8.0.2
v8.0.1
v8.0.0
⚠ BREAKING CHANGES
- minimum required
webpackversion is4.36.0 - minimum required
node.jsversion is8.9.0 - move all sass (
includePaths,importer,functions) options to thesassOptionsoption. Thefunctionsoption can't be used asFunction, you should usesassOptionasFunctionto achieve this. - the
dataoption was renamed to theprependDataoption - default value of the
sourceMapoption depends on thedevtoolvalue (eval/falsevalues don't enable source map generation)
Features
- automatically use the
fiberspackage if it is possible (#744) (96184e1) - source map generation depends on the
devtooloption (#743) (fcea88e) - validate loader options (#737) (7b543fc)
- reworked error handling from
node-sass/sass - improve resolution for
@import(including support_indexandindexfiles in a directory)
Bug Fixes
- compatibility with
pnp