Internals of the Angular CLI
summary
Explains how the CLI builds an in-memory file system and uses schematics and AST + TypeScript type checking to perform safe code transforms, how builders run webpack then terser and a build optimizer that annotates components as pure so terser can drop unused code (claiming ~10x smaller production output versus dev), how ngc/ngcc and Ivy shrink templates 10–50x, and that ~40% of tracked apps already run Ivy; demos and tooling details show the pipeline actually produces those smaller bundles.
AI-written summary · about








