mirror of https://github.com/nodejs/node.git
This reduces the impact of https://redirect.github.com/nodejs/node/pull/59679 by delaying the require.cache population of ESM until they are directly required. After that, it's necessary for them to be in the cache to maintain correctness. PR-URL: https://github.com/nodejs/node/pull/59874 Refs: https://github.com/nodejs/node/issues/59868 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com> |
||
|---|---|---|
| .. | ||
| esm.mjs | ||
| import-esm.mjs | ||
| import-require-esm.mjs | ||
| require-esm.cjs | ||
| require-import-esm.cjs | ||