Report a warning/error when multiple instance of `@angular/core` are bundled.
- 主要言語
- TypeScript
- スター
- 27k
- フォーク
- 11.8k
- 平均マージ
- 14時間 23分
- マージ済み PR(30日)
- 162
説明
### 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 !
コントリビューションガイド
調査の方向性
CLI の build コマンドから始め、build 中に依存関係の解決とバンドルされた Angular アプリケーションがどのように表現されるかを調査してください。複数の @angular/core インスタンスに関して報告されている障害モードについては、angular/angular#35586 を確認してください。複数のインスタンスがバンドルされたときに、ランタイム障害が発生する前に build が警告またはエラーを報告すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- angular, typescript
- 領域
- build-system, cli
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100