Report a warning/error when multiple instance of `@angular/core` are bundled.
- Linguagem predominante
- TypeScript
- Estrelas
- 27k
- Forks
- 11.8k
- Merge médio
- 14h 23min
- PRs com merge (30d)
- 162
Descrição
### 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 !
Guia de contribuição
Direção de pesquisa
Comece pelo comando de build da CLI e investigue como a resolução de dependências e as aplicações Angular agrupadas são representadas durante o build. Consulte angular/angular#35586 para verificar o modo de falha relatado com múltiplas instâncias de @angular/core. Considera-se concluído quando o build relata um aviso ou erro ao agrupar múltiplas instâncias, antes da falha em tempo de execução.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- angular, typescript
- Domínio
- build-system, cli
- Tipo de issue
- Funcionalidade
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 35/100