mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-20 05:24:57 +08:00
This adds the support of `namedChunks` for the new `application` builder. It generates output like the following: ``` Initial Chunk Files | Names | Raw Size | Estimated Transfer Size chunk-ACXUMF56.js | - | 94.14 kB | 28.25 kB main-3WP5KDHR.js | main | 71.95 kB | 18.31 kB polyfills-4UVFGIFL.js | polyfills | 32.85 kB | 10.68 kB chunk-2XJVAMHT.js | - | 449 bytes | 449 bytes styles-5INURTSO.css | styles | 0 bytes | 0 bytes | Initial Total | 199.38 kB | 57.68 kB Lazy Chunk Files | Names | Raw Size | Estimated Transfer Size about.component-2PJOS5PM.js | - | 401 bytes | 401 bytes home.component-25UHFOEY.js | - | 398 bytes | 398 bytes ``` This is really handy to get a glimpse at what a chunk is referring to and be able to analyze it (especially in applications with dozens of chunks).