build: update dependency less-loader to v13 (main) - #33243
Conversation
See associated pull request for more information.
There was a problem hiding this comment.
Code Review
This pull request updates the less-loader dependency to version 13.0.0. Feedback highlights a potential breaking change regarding Node.js version compatibility, as the new version requires Node.js 22.11.0 or higher, which may conflict with the project's current support for older versions. Additionally, the update changes the default behavior of lessLogAsWarnOrErr to true, which may require explicit configuration adjustments to maintain consistent build output.
|
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:
12.3.2→13.0.0Release Notes
webpack/less-loader (less-loader)
v13.0.0Compare Source
Major Changes
Minimum supported Node.js version is now
>= 22.11.0. (by @alexander-akait in #590)The package now ships native ESM as well as CommonJS.
"type": "module"is set, and anexportsmap exposesdist/esm/index.jstoimportanddist/cjs/index.jstorequire. Less is loaded via dynamicimport()instead ofrequire(). (by @alexander-akait in #593)lessLogAsWarnOrErrnow defaults totrue. Less warnings and errors are emitted as webpack warnings and errors by default. Set the option tofalseto restore the previous behavior of logging silently. (by @alexander-akait in #600)Minor Changes
Patch Changes
data-uri()and custom functions installed via@plugin) as webpack file dependencies. See #492. (by @alexander-akait in #596)All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
12.3.3 (2026-05-19)
Bug Fixes
12.3.2 (2026-03-11)
Bug Fixes
12.3.1 (2026-02-05)
Bug Fixes
v12.3.3Compare Source