Internals of the Angular CLI
summary
Angular CLI exposes a layered pipeline: schematics use an in-memory file system to scaffold and mutate projects and run ng add/ng update; migrations in version 9 parse TypeScript ASTs and use the TypeChecker to transform decorators (example: viewChild -> { static: true }) rather than brittle regexes; builds run Angular compiler (ngc) → TypeScript → build-optimizer annotations → Webpack bundling → terser dead-code elimination and differential ES2015→ES5 outputs.
AI-written summary · about
chapters (5)
- 0:00Introduction to Angular CLI
- 5:15Angular CLI architecture layers
- 10:37Code transformations in schematics
- 18:00Build optimization pipeline
- 23:02Summary and Q&A








