angular-docs-cn/tools/ng_rollup_bundle
Paul Gschwendtner c0143cb2ab build: ng_rollup_bundle internal rule should support ngcc (#36044)
The `ng_rollup_bundle` rule currently is only consumed in the
Angular framework repository. This means that Angular packages
are built from source, and ngcc is never needed to build rollup
bundles using Ivy.

Though, this rule is planned to be shared with other repositories
to support common benchmark code. This means that ngcc needs to be
handled as these other repositories cannot build Angular from source,
but instead consume Angular through NPM (with ngcc enabling Ivy).

The `ng_rollup_bundle` rule needs to dynamically prioritize `ngcc`
generated main resolution fields if `--define=angular_ivy_enabled=True`
is set (or with the alias: `--config=ivy`).

ds

PR Close #36044
2020-03-18 15:57:07 -07:00
..
BUILD.bazel build: update to rules nodejs 1.0.1 (#34736) 2020-01-15 14:58:07 -05:00
ng_rollup_bundle.bzl build: ng_rollup_bundle internal rule should support ngcc (#36044) 2020-03-18 15:57:07 -07:00
rollup.config.js build: ng_rollup_bundle internal rule should support ngcc (#36044) 2020-03-18 15:57:07 -07:00
terser_config.json build: add ngJitMode to ng_rollup_bundle terser config (#33865) 2019-11-20 10:29:46 -08:00