07d7e6034f
For the compilation of a component, the compiler verifies that the imports it needs to generate to reference the used directives and pipes would not create an import cycle in the program. This requires visiting the transitive import graphs of all directive/pipe usage in search of the component file. The observation can be made that all directive/pipe usages can leverage the exploration work in search of the component file, thereby allowing sub-graphs of the import graph to be only visited once instead of repeatedly per usage. Additionally, the transitive imports of a file are no longer collected into a set to reduce memory pressure. PR Close #41271 |
||
---|---|---|
.. | ||
diagnostics | ||
metadata | ||
ngtsc | ||
transformers | ||
extract_i18n.ts | ||
language_services.ts | ||
main.ts | ||
perform_compile.ts | ||
perform_watch.ts | ||
tooling.ts | ||
typescript_support.ts | ||
version.ts |