summaryrefslogtreecommitdiff
path: root/node.gyp
diff options
context:
space:
mode:
authorJoyee Cheung <joyeec9h3@gmail.com>2019-01-13 20:23:31 +0800
committerJoyee Cheung <joyeec9h3@gmail.com>2019-01-23 19:21:56 +0800
commita93c825d7843e72d3e534939639f49ce8e26b16b (patch)
tree43db5832f6a88f12589b911a830d7fbab1148319 /node.gyp
parent530016829690285e0475d6716eb039ec890031b4 (diff)
downloadandroid-node-v8-a93c825d7843e72d3e534939639f49ce8e26b16b.tar.gz
android-node-v8-a93c825d7843e72d3e534939639f49ce8e26b16b.tar.bz2
android-node-v8-a93c825d7843e72d3e534939639f49ce8e26b16b.zip
process: clarify the pre- and post-condition of esm setup
This patch: - Clarifies the dependency of the ESM loader initialization (`process.cwd()` and the value of `--loader`) in `node.js`. - Moves the initialization of the per-isolate `importModuleDynamically` and `initializeImportMetaObject` callbacks into `node.js` - Moves the initialization of the ESM loader into `prepareUserCodeExecution()` since it potentially involves execution of user code (similar to `--require` for CJS modules). PR-URL: https://github.com/nodejs/node/pull/25530 Reviewed-By: Gus Caplan <me@gus.host>
Diffstat (limited to 'node.gyp')
0 files changed, 0 insertions, 0 deletions