mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
0e1cbecc2c
The `generate-locales-tool` now needs to run as ESM because we changed the `ts_library` rule. This commit accounts for the ESM syntax but removing CJS code parts like `require.main === module`. Also imports using `require` need to be changed to their ESM equivalents. PR Close #48521