Summary
In this chapter, we first discussed how the Angular Compatibility Compiler is a tool needed in the transition phase while Angular library packages are still compiled using the Angular View Engine compiler. The Angular Compatibility Compiler compiles these package bundles into the Angular Ivy format so that they can be used by our Angular Ivy applications.
Additionally, we discussed how recent versions of Angular support partially Ivy-compiled Angular library packages using the Angular Linker, which eventually fully replaces the Angular Compatibility Compiler.
After reviewing the use cases that rely on the Angular Compatibility Compiler, we briefly discussed the most useful options for the ngcc
command-line tool. Following that, we walked through common optimization techniques using these options.
Finally, this chapter ended by considering how the Angular Compatibility Compiler can be optimized for speed in CI/CD workflows. We discussed solutions for several specific...