Skip to content

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

@JeanMeche

Description

@JeanMeche

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 !

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions