mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
c5a5682b06
Similar to other code that is shipped as part of `@angular/common` (with APF v13), we should ship the generated locale files as ESM files as well. This is necessary/reasonable because we explicitly set `type: "module"` for the common package, so it makes sense to have the same apply for the locale sub-directory. Note: The global locale scripts remain having the `.js` extension and will continue to be unmodified. They are CJS/ESM compatible either way, but refer to browser globals. PR Close #43431