mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
The Bazel NodeJS rules will always use the `.js` files as entry-points. Since we only rely on the `.mjs` output going-forward, we need to teach `nodejs_binary` and `nodejs_test` to use the `.mjs` extensions if intended. Our `defaults.bzl` macros will set `use_esm = True`, but other targets from e.g. external repositories should keep the original behavior. PR Close #48521 |
||
|---|---|---|
| .. | ||
| patches | ||
| BUILD.bazel | ||
| esm-extension-loader.mjs | ||
| esm-loaders.bzl | ||
| esm-main-loader.mjs | ||
| esm-node-module-loader.bzl | ||
| esm-node-module-loader.mjs | ||
| index.bzl | ||