angular/packages/compiler-cli/ngcc/test/integration
JoostK be050b2582 fix(ngcc): do not compile JavaScript sources if typings-only processing is repeated (#41209)
The recently introduced typings-only mode in ngcc would incorrectly
write compiled JavaScript files if typings-only mode was requested, in
case the typings of the entry-point had already been processed in a
prior run of ngcc. The corresponding format property for which the
JavaScript files were written were not marked as processed, though, as
the typings-only mode excluded the format property itself from being
marked as processed. Consequently, subsequent runs of ngcc would not
consider the entry-point to have been processed and recompile the
JavaScript bundle once more, resulting in duplicate ngcc imports.

Fixes #41198

PR Close #41209
2021-03-16 09:33:54 -07:00
..
ngcc_spec.ts fix(ngcc): do not compile JavaScript sources if typings-only processing is repeated (#41209) 2021-03-16 09:33:54 -07:00
util.ts test(compiler-cli): move testing utils to separate package (#39594) 2020-11-17 11:59:56 -08:00