angular/packages/bazel/src
Paul Gschwendtner 0fbd554948 refactor: switch packages away from deep cross-package imports (#43431)
The Angular Core and localize package currently use deep imports for
code that is shipped. This is problematic as we want to ship the
compiler-cli as full-ESM. To achieve this we need to use a bundler and
this breaks deep imports.

We use a bundler for the compiler CLI because for full ESM
compatibility, we would need to explicitly add the `.js` extension
to all relative imports. This is very cumbersome and prone to mistakes
so to mitigate this problem in a safe way, we bundle the compiler-cli.

Note: Deep imports continue to exist for the language service as it
bundles the compiler-cli.

PR Close #43431
2021-10-01 18:28:43 +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: switch packages away from deep cross-package imports (#43431) 2021-10-01 18:28:43 +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