Skip to content

Conversation

@alan-agius4
Copy link
Collaborator

The javascriptEnabled option for the Less CSS preprocessor has been deprecated since v18 and its usage was behind a warning. This functionality is now fully removed.

This change simplifies the Less stylesheet processing by removing the retry logic that attempted to compile with inline JavaScript enabled after an initial failure.

BREAKING CHANGE: The javascriptEnabled option for Less is no longer supported. Projects relying on inline JavaScript within Less files will need to refactor their stylesheets to remove this dependency.

… Less

The `javascriptEnabled` option for the Less CSS preprocessor has been deprecated since v18 and its usage was behind a warning. This functionality is now fully removed.

This change simplifies the Less stylesheet processing by removing the retry logic that attempted to compile with inline JavaScript enabled after an initial failure.

BREAKING CHANGE: The `javascriptEnabled` option for Less is no longer supported. Projects relying on inline JavaScript within Less files will need to refactor their stylesheets to remove this dependency.
@angular-robot angular-robot bot added detected: breaking change PR contains a commit with a breaking change area: @angular/build labels Sep 22, 2025
@alan-agius4 alan-agius4 added the target: major This PR is targeted for the next major release label Sep 22, 2025
@alan-agius4 alan-agius4 requested a review from clydin September 22, 2025 13:30
@alan-agius4 alan-agius4 added the action: review The PR is still awaiting reviews from at least one requested reviewer label Sep 22, 2025
@alan-agius4 alan-agius4 marked this pull request as ready for review September 22, 2025 13:30
@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Sep 22, 2025
@alan-agius4 alan-agius4 merged commit 1397585 into angular:main Sep 22, 2025
37 checks passed
@alan-agius4 alan-agius4 deleted the js-deprecate-less branch September 22, 2025 13:47
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Oct 23, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: @angular/build detected: breaking change PR contains a commit with a breaking change target: major This PR is targeted for the next major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants