This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
sass-loader | dependencies | major | ^14.0.0 -> ^16.0.0 |
v16.0.1
v16.0.0
sass
and sass-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
},
},
],
},
],
},
};
sass
and sass-embedded
(10be1ba)v15.0.0
sass-embedded
over sass
by default (#1211)v14.2.1
v14.2.0
modern-compiler
value for API to reuse compiler process (#1195) (cef40a8)modern
and modern-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.
This MR has been generated by Renovate Bot.