Bump sass-loader from 10.1.1 to 11.0.0
Bumps sass-loader from 10.1.1 to 11.0.0.
Release notes
Sourced from sass-loader's releases.
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
insidenode_modules
.
⚠ BREAKING CHANGES
- minimum supported
webpack
version is5
Features
- supported the
resolve.byDependency
option, you can setup{ resolve: { byDependency: { sass: { mainFiles: ['custom', '...'] } } } }
Changelog
Sourced from sass-loader's changelog.
11.0.0 (2021-02-05)
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
insidenode_modules
.
⚠ BREAKING CHANGES
- minimum supported
webpack
version is5
Features
- supported the
resolve.byDependency
option, you can setup{ resolve: { byDependency: { sass: { mainFiles: ['custom', '...'] } } } }