Releases: webpack-contrib/sass-loader
Releases · webpack-contrib/sass-loader
v11.0.1
v11.0.0
Notes
- using
~
is deprecated and can be removed from your code (we recommend it), but we still support it for historical reasons.
Why you can removed it?
The loader will first try to resolve @import
/@use
as relative, if it cannot be resolved, the loader will try to resolve @import
/@use
inside node_modules
.
Using ~
means looking for files in node_modules
or resolve.alias
or resolve.fallback
.
⚠ BREAKING CHANGES
- minimum supported
webpack
version is5
Features
- supported the
resolve.byDependency
option, you can setup{ resolve: { byDependency: { sass: { mainFiles: ['custom', '...'] } } } }
v10.1.1
v10.1.0
v10.0.5
v10.0.4
v10.0.3
v10.0.2
v10.0.1
v10.0.0-rc.0
10.0.0-rc.0 (2020-08-24)
⚠ BREAKING CHANGES
- loader generates absolute
sources
in source maps, also avoids modifyingsass
source maps if thesourceMap
option isfalse