build: update dependency less-loader to v13 (main)#33243
Merged
alan-agius4 merged 1 commit intoMay 22, 2026
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.
alan-agius4
approved these changes
May 22, 2026
Collaborator
|
This PR was merged into the repository. The changes were merged into the following branches:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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