Skip to content

build: update dependency less-loader to v13 (main)#33243

Merged
alan-agius4 merged 1 commit into
angular:mainfrom
angular-robot:ng-renovate/main-less-loader-13-x
May 22, 2026
Merged

build: update dependency less-loader to v13 (main)#33243
alan-agius4 merged 1 commit into
angular:mainfrom
angular-robot:ng-renovate/main-less-loader-13-x

Conversation

@angular-robot
Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
less-loader 12.3.213.0.0 age adoption passing confidence

  • If you want to rebase/retry this PR, check this box

Release Notes

webpack/less-loader (less-loader)

v13.0.0

Compare 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 an exports map exposes dist/esm/index.js to import and dist/cjs/index.js to require. Less is loaded via dynamic import() instead of require(). (by @​alexander-akait in #​593)

  • lessLogAsWarnOrErr now defaults to true. Less warnings and errors are emitted as webpack warnings and errors by default. Set the option to false to restore the previous behavior of logging silently. (by @​alexander-akait in #​600)

Minor Changes
Patch Changes
  • Track files loaded synchronously by Less (e.g. 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
  • revert ESM dynamic import (905a75e)
12.3.2 (2026-03-11)
Bug Fixes
12.3.1 (2026-02-05)
Bug Fixes

v12.3.3

Compare Source

See associated pull request for more information.
@angular-robot angular-robot added action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project target: automation This PR is targeted to only merge into the branch defined in Github [bot use only] labels May 22, 2026
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread packages/angular_devkit/build_angular/package.json
Comment thread packages/angular_devkit/build_angular/package.json
@alan-agius4 alan-agius4 merged commit 8a43edf into angular:main May 22, 2026
37 checks passed
@alan-agius4
Copy link
Copy Markdown
Collaborator

This PR was merged into the repository. The changes were merged into the following branches:

@alan-agius4 alan-agius4 deleted the ng-renovate/main-less-loader-13-x branch May 22, 2026 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project target: automation This PR is targeted to only merge into the branch defined in Github [bot use only]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants