c0143cb2ab
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 |
||
---|---|---|
.. | ||
BUILD.bazel | ||
ng_rollup_bundle.bzl | ||
rollup.config.js | ||
terser_config.json |