From 279b83a7e8017665fa8862b57a378134ffdd4d02 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 30 Aug 2026 15:17:15 +0000 Subject: [PATCH] chore(release): new release --- .changeset/remove-bom.md | 5 ----- CHANGELOG.md | 6 ++++++ package.json | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 .changeset/remove-bom.md diff --git a/.changeset/remove-bom.md b/.changeset/remove-bom.md deleted file mode 100644 index 0dcd6adb..00000000 --- a/.changeset/remove-bom.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"sass-loader": patch ---- - -Remove the byte order mark (BOM) from the compiled CSS. `dart-sass` prepends it when the compiled CSS contains non ASCII characters and the `style` option is `compressed` (the default for the `production` mode), but a BOM is only valid at the very beginning of a file - tools like `css-loader` move `@import` at-rules above it, so it ended up in the middle of the generated CSS and broke the rule after it. Source maps are shifted accordingly. diff --git a/CHANGELOG.md b/CHANGELOG.md index c5139265..f88c70cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 17.0.1 + +### Patch Changes + +- Remove the byte order mark (BOM) from the compiled CSS. `dart-sass` prepends it when the compiled CSS contains non ASCII characters and the `style` option is `compressed` (the default for the `production` mode), but a BOM is only valid at the very beginning of a file - tools like `css-loader` move `@import` at-rules above it, so it ended up in the middle of the generated CSS and broke the rule after it. Source maps are shifted accordingly. (by [@alexander-akait](https://github.com/alexander-akait) in [#1337](https://github.com/webpack/sass-loader/pull/1337)) + ## 17.0.0 ### Major Changes diff --git a/package.json b/package.json index 4272e4e5..4d93c49c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sass-loader", - "version": "17.0.0", + "version": "17.0.1", "description": "Sass loader for webpack", "keywords": [ "sass",