webpack-contrib/sass-loader (sass-loader)
### [`v16.0.1`](https://togithub.com/webpack-contrib/sass-loader/blob/HEAD/CHANGELOG.md#1601-2024-08-19)
[Compare Source](https://togithub.com/webpack-contrib/sass-loader/compare/v16.0.0...v16.0.1)
##### Bug Fixes
- generate correct sourceMaps for `modern-compiler` api ([#1228](https://togithub.com/webpack-contrib/sass-loader/issues/1228)) ([f862f7a](https://togithub.com/webpack-contrib/sass-loader/commit/f862f7a8382fab11c9c2a897ab1e26d35167cd10))
### [`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))
### [`v14.2.1`](https://togithub.com/webpack-contrib/sass-loader/blob/HEAD/CHANGELOG.md#1421-2024-04-16)
[Compare Source](https://togithub.com/webpack-contrib/sass-loader/compare/v14.2.0...v14.2.1)
### [`v14.2.0`](https://togithub.com/webpack-contrib/sass-loader/blob/HEAD/CHANGELOG.md#1420-2024-04-11)
[Compare Source](https://togithub.com/webpack-contrib/sass-loader/compare/v14.1.1...v14.2.0)
##### Features
- added the `modern-compiler` value for API to reuse compiler process ([#1195](https://togithub.com/webpack-contrib/sass-loader/issues/1195)) ([cef40a8](https://togithub.com/webpack-contrib/sass-loader/commit/cef40a8af9891adca9fc99d9641b46dc58db023f))
- support webpack built-in resolver for `modern` and `modern-compiler` API ([#1197](https://togithub.com/webpack-contrib/sass-loader/issues/1197)) ([2265b72](https://togithub.com/webpack-contrib/sass-loader/commit/2265b72c4899a6784e0785938f892743d1c942bf))
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.
##### [14.1.1](https://togithub.com/webpack-contrib/sass-loader/compare/v14.1.0...v14.1.1) (2024-02-19)
##### Bug Fixes
- handle `pkg:` scheme ([#1191](https://togithub.com/webpack-contrib/sass-loader/issues/1191)) ([c34c8e3](https://togithub.com/webpack-contrib/sass-loader/commit/c34c8e3330fb2b08cac217fc44ba602889a1db48))
### [`v14.1.1`](https://togithub.com/webpack-contrib/sass-loader/blob/HEAD/CHANGELOG.md#1411-2024-02-19)
[Compare Source](https://togithub.com/webpack-contrib/sass-loader/compare/v14.1.0...v14.1.1)
### [`v14.1.0`](https://togithub.com/webpack-contrib/sass-loader/blob/HEAD/CHANGELOG.md#1410-2024-01-30)
[Compare Source](https://togithub.com/webpack-contrib/sass-loader/compare/v14.0.0...v14.1.0)
##### Features
- add `@rspack/core` as an optional peer dependency ([#1184](https://togithub.com/webpack-contrib/sass-loader/issues/1184)) ([637ba5b](https://togithub.com/webpack-contrib/sass-loader/commit/637ba5b49005ab5d31a2b2979ad9af7f008b0267))
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, 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.0.0
->^16.0.0
Release Notes
webpack-contrib/sass-loader (sass-loader)
### [`v16.0.1`](https://togithub.com/webpack-contrib/sass-loader/blob/HEAD/CHANGELOG.md#1601-2024-08-19) [Compare Source](https://togithub.com/webpack-contrib/sass-loader/compare/v16.0.0...v16.0.1) ##### Bug Fixes - generate correct sourceMaps for `modern-compiler` api ([#1228](https://togithub.com/webpack-contrib/sass-loader/issues/1228)) ([f862f7a](https://togithub.com/webpack-contrib/sass-loader/commit/f862f7a8382fab11c9c2a897ab1e26d35167cd10)) ### [`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)) ### [`v14.2.1`](https://togithub.com/webpack-contrib/sass-loader/blob/HEAD/CHANGELOG.md#1421-2024-04-16) [Compare Source](https://togithub.com/webpack-contrib/sass-loader/compare/v14.2.0...v14.2.1) ### [`v14.2.0`](https://togithub.com/webpack-contrib/sass-loader/blob/HEAD/CHANGELOG.md#1420-2024-04-11) [Compare Source](https://togithub.com/webpack-contrib/sass-loader/compare/v14.1.1...v14.2.0) ##### Features - added the `modern-compiler` value for API to reuse compiler process ([#1195](https://togithub.com/webpack-contrib/sass-loader/issues/1195)) ([cef40a8](https://togithub.com/webpack-contrib/sass-loader/commit/cef40a8af9891adca9fc99d9641b46dc58db023f)) - support webpack built-in resolver for `modern` and `modern-compiler` API ([#1197](https://togithub.com/webpack-contrib/sass-loader/issues/1197)) ([2265b72](https://togithub.com/webpack-contrib/sass-loader/commit/2265b72c4899a6784e0785938f892743d1c942bf)) 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. ##### [14.1.1](https://togithub.com/webpack-contrib/sass-loader/compare/v14.1.0...v14.1.1) (2024-02-19) ##### Bug Fixes - handle `pkg:` scheme ([#1191](https://togithub.com/webpack-contrib/sass-loader/issues/1191)) ([c34c8e3](https://togithub.com/webpack-contrib/sass-loader/commit/c34c8e3330fb2b08cac217fc44ba602889a1db48)) ### [`v14.1.1`](https://togithub.com/webpack-contrib/sass-loader/blob/HEAD/CHANGELOG.md#1411-2024-02-19) [Compare Source](https://togithub.com/webpack-contrib/sass-loader/compare/v14.1.0...v14.1.1) ### [`v14.1.0`](https://togithub.com/webpack-contrib/sass-loader/blob/HEAD/CHANGELOG.md#1410-2024-01-30) [Compare Source](https://togithub.com/webpack-contrib/sass-loader/compare/v14.0.0...v14.1.0) ##### Features - add `@rspack/core` as an optional peer dependency ([#1184](https://togithub.com/webpack-contrib/sass-loader/issues/1184)) ([637ba5b](https://togithub.com/webpack-contrib/sass-loader/commit/637ba5b49005ab5d31a2b2979ad9af7f008b0267))Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, 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.