chore(deps): update dependency sass-loader to v16
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
sass-loader | devDependencies | major | ^8.0.0 -> ^16.0.0 |
Release Notes
webpack-contrib/sass-loader
v16.0.4
v16.0.3
v16.0.2
v16.0.1
Bug Fixes
v16.0.0
⚠️ BREAKING CHANGES
- use modern Sass JS API by default for
sass
andsass-embedded
[!WARNING]
The sass options are different for the
legacy
(before) andmodern
APIs. Please look at docs how to migrate to the modern options. Legacy options - https://sass-lang.com/documentation/js-api/interfaces/legacystringoptions/ Modern options - https://sass-lang.com/documentation/js-api/interfaces/options/
To return to the previous logic use:
module.exports = {
module: {
rules: [
{
test: /\.s[ac]ss$/i,
use: [
"style-loader",
"css-loader",
{
loader: "sass-loader",
options: {
api: "legacy",
// Your options
},
},
],
},
],
},
};
Features
- use modern Sass JS API by default for
sass
andsass-embedded
(10be1ba)
v15.0.0
⚠️ BREAKING CHANGES
- prefer
sass-embedded
oversass
by default (#1211)
Features
14.2.1 (2024-04-16)
Bug Fixes
v14.2.1
v14.2.0
Features
- added the
modern-compiler
value for API to reuse compiler process (#1195) (cef40a8) - support webpack built-in resolver for
modern
andmodern-compiler
API (#1197) (2265b72)
Notes:
Using the modern-compiler
value for the api
option together with sass-embedded
reduces compilation time by 5-10 times, especially for projects using large files with a lot of @import
/@use
, for small files the build time reduction will not be significant.
14.1.1 (2024-02-19)
Bug Fixes
v14.1.1
v14.1.0
Features
v14.0.0
⚠️ BREAKING CHANGES
- removed
fibers
support - minimum supported Node.js version is
18.12.0
(627f55d)
13.3.3 (2023-12-25)
Bug Fixes
13.3.2 (2023-06-09)
Bug Fixes
13.3.1 (2023-05-28)
Bug Fixes
v13.3.3
v13.3.2
v13.3.1
v13.3.0
Features
13.2.2 (2023-03-27)
Bug Fixes
13.2.1 (2023-03-18)
Bug Fixes
- do not crash on a custom scheme in
@import
/@use
for the modern API (21966ee)
v13.2.2
v13.2.1
v13.2.0
Features
v13.1.0
Features
13.0.2 (2022-06-27)
Bug Fixes
13.0.1 (2022-06-24)
Bug Fixes
v13.0.2
v13.0.1
v13.0.0
⚠️ BREAKING CHANGES
- minimum supported
Node.js
version is14.15.0
(#1048) - emit
@warn
at-rules as webpack warnings by default, if you want to revert behavior please use thewarnRuleAsWarning
option (#1054) (58ffb68)
Bug Fixes
- do not crash on importers for modern API (#1052) (095814e)
- do not store original sass error in webpack error(#1053) (06d7533)
v12.6.0
Features
v12.5.0
Features
- added support for
sass-embedded
(faster thannode-sass
), feel free to feedback - added the
api
option (modern
api is experimental and currently doesn't support built-in webpack resolver) (afbe114)
v12.4.0
Features
v12.3.0
Features
- added the
warnRuleAsWarning
option, allows to emit a warning on the@warn
rule (#992) (c652c79) - use webpack logger to log sass messages (only for
dart-sass
), configure it using infrastructureLogging (#991) (bb7cef9)
v12.2.0
Features
v12.1.0
Features
- allow
String
value for theimplementation
option (382a3ca)
v12.0.0
⚠️ BREAKING CHANGES
- minimum supported
Node.js
version is12.13.0
Bug Fixes
- crash in custom importers with worker threads (#958) (67aa139)
- resolving
_index.import.scss
/index.import.scss
in packages (#906) (6641a16)
11.1.1 (2021-05-13)
Bug Fixes
v11.1.1
v11.1.0
Features
11.0.1 (2021-02-08)
Bug Fixes
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.5.2
10.5.2 (2024-01-04)
Bug Fixes
v10.5.1
10.5.1 (2023-12-19)
Bug Fixes
v10.5.0
Features
v10.4.1
10.4.1 (2022-11-15)
Bug Fixes
v10.4.0
Features
v10.3.1
10.3.1 (2022-07-06)
Bug Fixes
v10.3.0
Features
v10.2.1
10.2.1 (2022-01-14)
Bug Fixes
v10.2.0
Features
- support
node-sass
v6 (dbbbdde)
10.1.1 (2021-01-11)
Bug Fixes
v10.1.1
v10.1.0
Features
10.0.5 (2020-11-02)
Bug Fixes
10.0.4 (2020-10-22)
Bug Fixes
10.0.3 (2020-10-09)
Chore
- update
schema-utils
10.0.2 (2020-09-03)
Bug Fixes
10.0.1 (2020-08-25)
Chore
- update deps
v10.0.5
v10.0.4
v10.0.3
v10.0.2
v10.0.1
v10.0.0
Bug Fixes
- handle absolute windows path in source maps
v9.0.3
v9.0.2
v9.0.1
v9.0.0
⚠️ 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
8.0.2 (2020-01-13)
Bug Fixes
8.0.1 (2020-01-10)
Bug Fixes
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.