Skip to content

Conversation

alan-agius4
Copy link
Collaborator

@alan-agius4 alan-agius4 commented Mar 19, 2025

The Angular CLI explicitly adds @angular/compiler as a polyfill when JIT mode is enabled which makes using @angular/platform-browser-dynamic redundant and causes the compiler to be imported twice.

… with `@angular/platform-browser`

The Angular CLI expliclty adds `@angular/compiler` as a polyfill when JIT mode is enabled which makes using  `@angular/platform-browser-dynamic` redundant and causes the compiler to be imported twice.
@alan-agius4 alan-agius4 added action: review The PR is still awaiting reviews from at least one requested reviewer target: patch This PR is targeted for the next patch release and removed area: @schematics/angular labels Mar 19, 2025
@alan-agius4 alan-agius4 requested a review from clydin March 19, 2025 10:10
@alan-agius4 alan-agius4 removed the request for review from clydin March 19, 2025 10:21
@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 Mar 19, 2025
@clydin
Copy link
Member

clydin commented Mar 19, 2025

Should the dependency be removed from the package.json as well?

@alan-agius4
Copy link
Collaborator Author

alan-agius4 commented Mar 19, 2025

We are still using it for testing, can be removed once angular/angular#60453 is landed.

@alan-agius4 alan-agius4 merged commit c0de723 into angular:main Mar 19, 2025
34 checks passed
@alan-agius4 alan-agius4 deleted the ng-module-jit branch March 19, 2025 11:06
@alan-agius4
Copy link
Collaborator Author

The changes were merged into the following branches: main, 19.2.x

@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 Apr 19, 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 target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants