Releases: webpack/sass-loader
Releases Β· webpack/sass-loader
v16.0.7
v16.0.6
Bug Fixes
- cache fs calls for modern API
v16.0.5
v16.0.4
v16.0.3
v16.0.2
v16.0.1
v16.0.0
16.0.0 (2024-07-26)
β BREAKING CHANGES
- use modern Sass JS API by default for
sassandsass-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
sassandsass-embedded(10be1ba)