angular-cn/packages/compiler-cli/ngcc/test/integration
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
..
ngcc_spec.ts fix(ngcc): use annotateForClosureCompiler option (#36652) 2020-06-11 11:12:56 -07:00
util.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00