angular-cn/packages/compiler-cli/ngcc/test
JoostK 8c80b851c8 fix(ivy): ngcc - insert new imports after existing ones (#30029)
Previously, ngcc would insert new imports at the beginning of the file, for
convenience. This is problematic for imports that have side-effects, as the
side-effects imposed by such imports may affect the behavior of subsequent
imports.

This commit teaches ngcc to insert imports after any existing imports. Special
care has been taken to ensure inserted constants will still follow after the
inserted imports.

Resolves FW-1271

PR Close #30029
2019-04-22 16:29:30 -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 fix(ivy): ngcc - insert new imports after existing ones (#30029) 2019-04-22 16:29:30 -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