angular-cn/packages/compiler-cli/ngcc/test
David Neil 8c682c52b1 fix(ngcc): use annotateForClosureCompiler option (#36652)
Adds @nocollapse to static properties added by ngcc
iff annotateForClosureCompiler is true.

The Closure Compiler will collapse static properties
into the global namespace.  Adding this annotation keeps
the properties attached to their respective object, which
allows them to be referenced via a class's constructor.
The annotation is already added by ngtsc and ngc under the
same option, this commit extends the functionality to ngcc.

Closes #36618.

PR Close #36652
2020-06-11 11:12:56 -07:00
..
analysis build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
dependencies fix(ngcc): do not scan import expressions in d.ts files (#37503) 2020-06-10 11:51:18 -07:00
entry_point_finder feat(ngcc): implement a program-based entry-point finder (#37075) 2020-06-04 09:22:39 -07: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 fix(ngcc): find decorated constructor params on IIFE wrapped classes (#37436) 2020-06-05 09:22:04 -07:00
integration fix(ngcc): use annotateForClosureCompiler option (#36652) 2020-06-11 11:12:56 -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): implement a program-based entry-point finder (#37075) 2020-06-04 09:22:39 -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