angular-cn/packages/compiler-cli/ngcc/test
JoostK 8cba4e1f6b fix(ivy): ngcc - do not copy declaration files into bundle clone (#30020)
Previously, all of a program's files would be copied into the __ivy_ngcc__
folder where ngcc then writes its modifications into. The set of source files
in a program however is much larger than the source files contained within
the entry-point of interest, so many more files were copied than necessary.
Even worse, it may occur that an unrelated file in the program would collide
with an already existing source file, resulting in incorrectly overwriting
a file with unrelated content. This behavior has actually been observed
with @angular/animations and @angular/platform-browser/animations, where
the former package would overwrite declaration files of the latter package.

This commit fixes the issue by only copying relevant source files when cloning
a bundle's content into __ivy_ngcc__.

Fixes #29960

PR Close #30020
2019-04-22 08:46:19 -07:00
..
analysis feat(compiler-cli): ngcc - make logging more configurable (#29591) 2019-04-01 11:53:28 -07:00
helpers test(ivy): ngcc - improve and use the `MockLogger` (#29740) 2019-04-08 09:48:20 -07:00
host fix(ivy): ngcc - properly handle aliases class expressions (#29119) 2019-04-02 10:50:46 -07:00
integration perf(ivy): ngcc - exit early if the targeted package has been compiled (#29740) 2019-04-08 09:48:20 -07:00
logging feat(compiler-cli): ngcc - make logging more configurable (#29591) 2019-04-01 11:53:28 -07:00
packages feat(compiler-cli): ngcc - make logging more configurable (#29591) 2019-04-01 11:53:28 -07:00
rendering refactor(ivy): use ɵɵ instead of Δ for now (#29850) 2019-04-11 16:27:56 -07:00
writing fix(ivy): ngcc - do not copy declaration files into bundle clone (#30020) 2019-04-22 08:46:19 -07:00
BUILD.bazel test(ivy): ngcc - improve and use the `MockLogger` (#29740) 2019-04-08 09:48:20 -07:00