Releases: webpack/sass-loader
Releases · webpack/sass-loader
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
v7.3.1
v7.3.0
v7.2.0
v7.1.0
v7.0.3
v7.0.2
v7.0.1
v7.0.0
Features
- Refactor resolving and simplify webpack config aliases (#479) (e0fde1a)
- Remove
node-sassfrompeerDependencies(#533) (6439cef)
BREAKING CHANGES
- Drop official node 4 support
- This slightly changes the resolving algorithm. Should not break in normal usage, but might break in complex configurations.
- The sass-loader throws an error at runtime now and refuses to compile if the peer dependency is wrong. This could break applications where npm's peer dependency warning was just ignored.