Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report a warning/error when multiple instance of @angular/core are bundled. #26774

Open
JeanMeche opened this issue Jan 2, 2024 · 0 comments
Labels
area: devkit/build-angular feature: under consideration Feature request for which voting has completed and the request is now under consideration feature Issue that requests a new feature

Comments

@JeanMeche
Copy link
Member

JeanMeche commented Jan 2, 2024

Command

build

Description

When the CLI bundles Angular apps it can happen that multiple instances of @angular/core are bundled.

This leads to a variety of errors at runtime that are difficult to diagnose for developers.

Currently on the FW repo we point users toward : angular/angular#35586

Describe the solution you'd like

I'd be great if the CLI could throw a warning/error when it happens so users are aware even before runtime that there is an issue with their bundle and they should have a look at their dependency resolution !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: devkit/build-angular feature: under consideration Feature request for which voting has completed and the request is now under consideration feature Issue that requests a new feature
Projects
None yet
Development

No branches or pull requests

2 participants