Releases: webpack-contrib/sass-loader
Releases · webpack-contrib/sass-loader
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
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-sass
frompeerDependencies
(#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.