mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
The localize primary entry-point (used at runtime in application code) indirectly loads from the compiler package for computing message ids. The compiler package has a couple of constants which cannot be DCE-ded/ tree-shaken due to side-effect reliance that is detected by Terser. We fix these constants to be three-shakable. Note that another issue technically would be that the compiler package has a side-effect call for `publishFacade` (for JIT), but that invocation is marked as pure by the Angular CLI babel optimization pipeline. So this results is no unused code currently but is risky and should be addressed in the future. PR Close #45405 |
||
|---|---|---|
| .. | ||
| init | ||
| schematics | ||
| src | ||
| test | ||
| tools | ||
| BUILD.bazel | ||
| index.ts | ||
| localize.ts | ||
| package.json | ||
| PACKAGE.md | ||
| private.ts | ||