v16.0.0
alexander-akait
released this
26 Jul 17:04
·
18 commits
to master
since this release
16.0.0 (2024-07-26)
⚠ BREAKING CHANGES
- use modern Sass JS API by default for
sass
andsass-embedded
Warning
The sass options are different for the legacy
(before) and modern
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)