webpack-contrib/sass-loader (sass-loader)
### [`v16.0.0`](https://togithub.com/webpack-contrib/sass-loader/releases/tag/v16.0.0)
[Compare Source](https://togithub.com/webpack-contrib/sass-loader/compare/v15.0.0...v16.0.0)
##### ā BREAKING CHANGES
- use modern Sass JS API by default for `sass` and `sass-embedded`
> \[!WARNING]
>
> The sass options are different for the `legacy` (before) and `modern` APIs. Please look at [docs](https://sass-lang.com/documentation/js-api) 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:
```js
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` and `sass-embedded` ([10be1ba](https://togithub.com/webpack-contrib/sass-loader/commit/10be1ba161557638fd3b80f4a5467159179ef9b1))
### [`v15.0.0`](https://togithub.com/webpack-contrib/sass-loader/blob/HEAD/CHANGELOG.md#1500-2024-07-23)
[Compare Source](https://togithub.com/webpack-contrib/sass-loader/compare/v14.2.1...v15.0.0)
##### ā BREAKING CHANGES
- prefer `sass-embedded` over `sass` by default ([#1211](https://togithub.com/webpack-contrib/sass-loader/issues/1211))
##### Features
- prefer `sass-embedded` over `sass` by default ([#1211](https://togithub.com/webpack-contrib/sass-loader/issues/1211)) ([83423ff](https://togithub.com/webpack-contrib/sass-loader/commit/83423ff933b1086e6203ca640c0994e14b95de2b))
##### [14.2.1](https://togithub.com/webpack-contrib/sass-loader/compare/v14.2.0...v14.2.1) (2024-04-16)
##### Bug Fixes
- avoid multiple sass compiler creation ([#1199](https://togithub.com/webpack-contrib/sass-loader/issues/1199)) ([77051d8](https://togithub.com/webpack-contrib/sass-loader/commit/77051d81b26ffe42e8a7c6769337a1c0f55f73ef))
Configuration
š Schedule: Branch creation - "after 10pm,before 5:00am" (UTC), Automerge - At any time (no schedule defined).
š¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
ā» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
š Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
^14.2.1
->^16.0.0
Release Notes
webpack-contrib/sass-loader (sass-loader)
### [`v16.0.0`](https://togithub.com/webpack-contrib/sass-loader/releases/tag/v16.0.0) [Compare Source](https://togithub.com/webpack-contrib/sass-loader/compare/v15.0.0...v16.0.0) ##### ā BREAKING CHANGES - use modern Sass JS API by default for `sass` and `sass-embedded` > \[!WARNING] > > The sass options are different for the `legacy` (before) and `modern` APIs. Please look at [docs](https://sass-lang.com/documentation/js-api) 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: ```js 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` and `sass-embedded` ([10be1ba](https://togithub.com/webpack-contrib/sass-loader/commit/10be1ba161557638fd3b80f4a5467159179ef9b1)) ### [`v15.0.0`](https://togithub.com/webpack-contrib/sass-loader/blob/HEAD/CHANGELOG.md#1500-2024-07-23) [Compare Source](https://togithub.com/webpack-contrib/sass-loader/compare/v14.2.1...v15.0.0) ##### ā BREAKING CHANGES - prefer `sass-embedded` over `sass` by default ([#1211](https://togithub.com/webpack-contrib/sass-loader/issues/1211)) ##### Features - prefer `sass-embedded` over `sass` by default ([#1211](https://togithub.com/webpack-contrib/sass-loader/issues/1211)) ([83423ff](https://togithub.com/webpack-contrib/sass-loader/commit/83423ff933b1086e6203ca640c0994e14b95de2b)) ##### [14.2.1](https://togithub.com/webpack-contrib/sass-loader/compare/v14.2.0...v14.2.1) (2024-04-16) ##### Bug Fixes - avoid multiple sass compiler creation ([#1199](https://togithub.com/webpack-contrib/sass-loader/issues/1199)) ([77051d8](https://togithub.com/webpack-contrib/sass-loader/commit/77051d81b26ffe42e8a7c6769337a1c0f55f73ef))Configuration
š Schedule: Branch creation - "after 10pm,before 5:00am" (UTC), Automerge - At any time (no schedule defined).
š¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
ā» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
š Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.