Report a warning/error when multiple instance of `@angular/core` are bundled.
- Lenguaje dominante
- TypeScript
- Estrellas
- 27k
- Forks
- 11.8k
- Merge medio
- 14 h 23 min
- PR fusionados (30 d)
- 162
Descripción
### 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 !
Guía de contribución
Línea de trabajo
Comienza con el comando de build de la CLI e investiga cómo se representan la resolución de dependencias y las aplicaciones Angular empaquetadas durante el build. Revisa angular/angular#35586 para conocer el modo de fallo reportado con múltiples instancias de @angular/core. Se considera terminado cuando el build informa de una advertencia o un error al empaquetar varias instancias, antes del fallo en tiempo de ejecución.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- angular, typescript
- Área
- build-system, cli
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100