Build & delivery
Angular compilation
Inspect the TypeScript and template input, compiler diagnostics, and generated component instructions.
Angular 22.3.2 · trace
Objective
Follow a template through Angular AOT and compare it with the same component compiled in the browser.
Transcript
Angular 22.3.2
- Angular reads the TypeScript component and analyzes its template and bindings. With strict template checks, a read from a missing property can stop the build.
- The AOT compiler emits the component factory and template function before the browser loads the page. This capture includes the creation and update instructions for a counter.
- In the controlled JIT build, the bundle retains Angular component metadata and includes the runtime compiler. Angular compiles the template in the browser as the component is used.
- The application builder bundles the program after compilation and emits JavaScript for the entry point and lazy details module. Generated Angular instructions are internal and may change between versions.