angular/packages/bazel/src
Paul Gschwendtner 46045ad3fb refactor(bazel): add module interop for CJS/ESM compiler-cli package (#43431)
In the current Bazel setup, we run CommonJS as devmode output, and ESM
for prodmode output. This means that consumers of the
`@angular/bazel` package will end up using the prodmode-built ESM
package of the compiler-cli. This commit adds interop logic to be able
to load the compiler-cli as strict ESM package.

We cannot switch devmode to ESM, as this would require some changes
in `rules_nodejs` and potentially the reduction of both output flavors
into a single one (which is a future project anyway). This is out of
scope for now and inside g3, there is still devmode output as well.

PR Close #43431
2021-10-01 18:28:46 +00:00
..
api-extractor refactor(bazel): update api-extractor bazel tool to only accept a single input (#43431) 2021-10-01 18:28:42 +00:00
ng_module refactor(bazel): no longer generate VE shims for other workspaces by default (#43431) 2021-10-01 18:28:42 +00:00
ng_package feat(bazel): implement partial compilation APF v13 for ng_package rule (#43431) 2021-10-01 18:28:42 +00:00
ngc-wrapped refactor(bazel): add module interop for CJS/ESM compiler-cli package (#43431) 2021-10-01 18:28:46 +00:00
BUILD.bazel feat(bazel): create transition for enabling partial compilation (#43431) 2021-10-01 18:28:42 +00:00
external.bzl refactor(bazel): move ng_module.bzl file into sub-directory for consistent structure (#43431) 2021-10-01 18:28:42 +00:00
ng_perf.bzl refactor(bazel): move ng_module.bzl file into sub-directory for consistent structure (#43431) 2021-10-01 18:28:42 +00:00