mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
The linker is implemented using a Babel transform such that Babel needs to parse and walk a source file to find the declarations that need to be compiled. If it can be determined that a source file is known not to contain any declarations the parsing and walking can be skipped as a performance improvement. This commit adds an exposed function for tools that integrate the linker to use to allow short-circuiting of the linker transform. PR Close #40137 |
||
|---|---|---|
| .. | ||
| ast | ||
| file_linker | ||
| BUILD.bazel | ||
| fatal_linker_error_spec.ts | ||
| linker_import_generator_spec.ts | ||