mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
86248bb8d0
With the new ESM version of `ng-dev`, the TypeScript config loading cannot happen automatically because `ts-node` cannot hook into the Node ESM module resolution at runtime. To fix this `ng-dev` is now loading a plain `.ng-dev/config.mjs` and the runtime just needs to be configured accordingly, i.e. running `ng-dev` with `ts-node` so that the ESM loader can be wired up before Node's runtime starts (using e.g. `node --loader`). PR Close #46437
161 B
161 B