build: update dependency sass-loader to v17 (main) - #33244
Conversation
See associated pull request for more information.
There was a problem hiding this comment.
Code Review
This pull request updates the sass-loader dependency from version 16.0.8 to 17.0.0. The review feedback highlights that this major version update introduces a minimum Node.js requirement of 22.11.0, which may break compatibility with projects using older Node.js versions. Additionally, it suggests a future configuration update to take advantage of new performance optimizations introduced in this version.
|
This PR was merged into the repository. The changes were merged into the following branches:
|
|
This pull request has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
This PR contains the following updates:
16.0.8→17.0.0Release Notes
webpack/sass-loader (sass-loader)
v17.0.0Compare Source
Major Changes
Add
"auto"to theapioption and make it the default. When the Sass implementation supports the modern compiler,"auto"enables it and reuses a single long-running compiler across files, which significantly improves build performance; otherwise it falls back to themodernAPI. (by @alexander-akait in #1319)Remove
node-sasssupport. (by @alexander-akait in #1316)Minimum supported NodeJS version is
22.11.0. (by @alexander-akait in #1318)Convert source to native ECMAScript modules. The package now declares
"type": "module"and exposes both an ESM and a CommonJS build via theexportsfield. CommonJS consumers continue to work viarequire, and ESM consumers can nowimportthe loader directly. (by @alexander-akait in #1322)Remove legacy Sass JS API support. (by @alexander-akait in #1316)
Minor Changes
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
16.0.8 (2026-05-08)
Bug Fixes
16.0.7 (2026-02-05)
Bug Fixes
16.0.6 (2025-10-23)
Bug Fixes
16.0.5 (2025-02-14)
Bug Fixes
@usewithcssextension (#1254) (3352e49)16.0.4 (2024-12-04)
Bug Fixes
16.0.3 (2024-11-01)
Bug Fixes
16.0.2 (2024-09-20)
Bug Fixes