Update dependency sass-loader to v16
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
sass-loader | devDependencies | major | 15.0.0 -> 16.0.0 |
Release Notes
webpack-contrib/sass-loader (sass-loader)
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)
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.