mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
e14d73b293
In preparation for using the partial compilation transition on the packager, we need to be able to have a reference to the flat module out file (that is used as "index" file for entry-point ng_module targets). We need a reference to the file because with transitions applied, the inputs are not necessarily in the default `bazel-out` directory. The packager currently only guesses such paths (this worked most of the time) but guessing the output directory with transitions will become impossible.. so the paths need to be computed in a Bazel-idiomatic way. This is more future-proof and correct (and more clean IMO). PR Close #43431