Releases: webpack-contrib/sass-loader
Releases · webpack-contrib/sass-loader
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
prependData
option was removed in favor theadditionalData
option, see docs - when the
sourceMap
istrue
,sassOptions.sourceMap
,sassOptions.sourceMapContents
,sassOptions.sourceMapEmbed
,sassOptions.sourceMapRoot
andsassOptions.omitSourceMapUrl
will be ignored.
Features
- pass the loader context to custom importers under the
this.webpackLoaderContext
property (#853) (d487683) - supports for
process.cwd()
resolution logic by default (#837) (0c8d3b3) - supports for
SASS-PATH
env variable resolution logic by default (#836) (8376179) - supports for the
sass
property for theexports
field frompackage.json
(conditional exports, for more information read docs)
Bug Fixes
- avoid different content on different os (#832) (68dd278)
- resolution logic when the
includePaths
option 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
webpack
version is4.36.0
- minimum required
node.js
version is8.9.0
- move all sass (
includePaths
,importer
,functions
) options to thesassOptions
option. Thefunctions
option can't be used asFunction
, you should usesassOption
asFunction
to achieve this. - the
data
option was renamed to theprependData
option - default value of the
sourceMap
option depends on thedevtool
value (eval
/false
values don't enable source map generation)
Features
- automatically use the
fibers
package if it is possible (#744) (96184e1) - source map generation depends on the
devtool
option (#743) (fcea88e) - validate loader options (#737) (7b543fc)
- reworked error handling from
node-sass
/sass
- improve resolution for
@import
(including support_index
andindex
files in a directory)
Bug Fixes
- compatibility with
pnp