mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
d0d6966d41
The `packages/localize` package still required some trickery to support CommonJS because tests in the repo were running as CommonJS. This commit removes the CommonJS logic in localize and its tests, so that only ESM is used in production & tests. PR Close #48521
Disclaimer
The localize tools are consumed via the Angular CLI. The programmatic APIs are not considered officially supported though and are not subject to the breaking change guarantees of SemVer.