mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
We currently use all the ESM2020 and type sources as inputs for rollup and type bundle actions, respectively. This is a source of slowness in Bazel sandboxed builds because many unused files will be linked/made available for many concurrently-running actions. We should limit the inputs only to what is assumed to be used. We cannot know exactly and need to include transitive types from `node_modules`, but that is an inevitable construct with the current Bazel rules. Note that the external node modules could still bring in a lot of files, like in Material where the `.d.ts` files for all locales are brought into the sandbox (from `@angular/common`). We likely would need to remove these files in a postinstall for now, to speed up actions, similar to how we did it for RxJS in all repositories. These are known to be not used in the components repo. PR Close #46187 |
||
|---|---|---|
| .. | ||
| docs | ||
| src | ||
| test | ||
| third_party/github.com/bazelbuild/bazel/src/main/protobuf | ||
| BUILD.bazel | ||
| index.bzl | ||
| package.json | ||