angular/packages/compiler-cli/ngcc/src
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 fix(ngcc): use annotateForClosureCompiler option (#36652) 2020-06-11 11:12:56 -07: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 style(ngcc): post-merge review tidy up (#37461) 2020-06-08 09:32:11 -07:00
execution 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
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 fix(ngcc): use annotateForClosureCompiler option (#36652) 2020-06-11 11:12:56 -07:00
rendering fix(ngcc): use annotateForClosureCompiler option (#36652) 2020-06-11 11:12:56 -07: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
command_line_options.ts feat(ngcc): implement a program-based entry-point finder (#37075) 2020-06-04 09:22:39 -07:00
constants.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
main.ts feat(ngcc): implement a program-based entry-point finder (#37075) 2020-06-04 09:22:39 -07:00
ngcc_options.ts feat(ngcc): implement a program-based entry-point finder (#37075) 2020-06-04 09:22:39 -07:00
path_mappings.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
utils.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00