Report a warning/error when multiple instance of @angular/core
are bundled.
#26774
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
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 !
The text was updated successfully, but these errors were encountered: