In this artice, we will explore how angular makes non Ivy libraries compatible with Ivy libraries using its compatability compiler ngcc. By Ajit Singh.
Angular compiles the code in the latest version(v9) but, not all code is compiled at the same time. There are libraries, npm modules, dependencies are precompiled and these may not work well with the way ngtsc compiles Angular code. This may cause failures at runtime, compile-time, etc. Fortunately, the Angular has already solved these problems for us using the Angular compatibility compiler ngcc.
The article is split into these detailed sections:
- What is ngcc?
- How ngcc works?
- Metadata files from Angular Package Format
- Overall ngcc architecture
Follow the link to original article to get the full overview. Well done![Read More]