angular-cn/packages/compiler-cli
Pete Bacon Darwin b3c3000004 fix(ngcc): ensure that adjacent statements go after helper calls (#33689)
Previously the renderers were fixed so that they inserted extra
"adjacent" statements after the last static property of classes.

In order to help the build-optimizer (in Angular CLI) to be able to
tree-shake classes effectively, these statements should also appear
after any helper calls, such as `__decorate()`.

This commit moves the computation of this positioning into the
`NgccReflectionHost` via the `getEndOfClass()` method, which
returns the last statement that is related to the class.

FW-1668

PR Close #33689
2019-11-11 13:01:15 -08:00
..
integrationtest build: reference zone.js from source directly instead of npm. (#33046) 2019-11-06 00:48:34 +00:00
ngcc fix(ngcc): ensure that adjacent statements go after helper calls (#33689) 2019-11-11 13:01:15 -08:00
src fix(compiler-cli): Pass SourceFile to getFullText() (#33660) 2019-11-07 16:47:07 -08:00
test revert: "fix(ivy): recompile component when template changes in ngc watch mode (#33551)" (#33661) 2019-11-07 19:57:56 +00:00
BUILD.bazel build: fix build failures with worker mode cache and @types/events (#31325) 2019-07-01 14:16:43 -07:00
index.ts fix(compiler-cli): remove unused CLI private exports (#33242) 2019-11-01 17:43:47 +00:00
package.json feat: typescript 3.6 support (#32946) 2019-10-18 13:15:16 -04:00
tsconfig-build.json build: reference zone.js from source directly instead of npm. (#33046) 2019-11-06 00:48:34 +00:00
tsconfig.json perf(ivy): ngcc - only find dependencies when targeting a single entry-point (#30525) 2019-07-09 09:40:46 -07:00