angular-cn/packages/compiler-cli/ngcc/test
Pete Bacon Darwin 07a8016118 fix(ngcc): capture dynamic import expressions as well as declarations (#37075)
Previously we only checked for static import declaration statements.
This commit also finds import paths from dynamic import expressions.

Also this commit should speed up processing: Previously we were parsing
the source code contents into a `ts.SourceFile` and then walking the parsed
AST to find import paths.
Generating an AST is unnecessary work and it is faster and creates less
memory pressure to just scan the source code contents with the TypeScript
scanner, identifying import paths from the tokens.

PR Close #37075
2020-06-04 09:22:39 -07:00
..
analysis build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
dependencies fix(ngcc): capture dynamic import expressions as well as declarations (#37075) 2020-06-04 09:22:39 -07:00
entry_point_finder build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
execution build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
helpers build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
host build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
integration perf(ngcc): cache parsed tsconfig between runs (#37417) 2020-06-04 09:19:38 -07:00
locking perf(ngcc): allow immediately reporting a stale lock file (#37250) 2020-06-02 17:30:03 -04:00
logging build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
migrations build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
packages build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
rendering fix(ngcc): do not inline source-maps for non-inline typings source-maps (#37363) 2020-06-01 17:18:31 -04:00
sourcemaps build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
writing build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
BUILD.bazel feat(ngcc): support for new APF where `module` points to esm2015 output (#36944) 2020-05-06 13:54:26 -07:00
ngcc_options_spec.ts perf(ngcc): cache parsed tsconfig between runs (#37417) 2020-06-04 09:19:38 -07:00
utils_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00