mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
5c51c48f98
The `__ESM_IMPORT_META_URL__` trick was used because we used both ESM and CommonJS in this repo. It was an interop needed because `import.meta.url` syntax couldn't be used as it woud have caused syntax errors. We still need to keep the CommonJS/ESM interop in the compiler-cli because g3 relies on the compiler and uses CommonJS. This affects very few places, just in the compiler- so this is acceptable. PR Close #48521
600 B
600 B