summaryrefslogtreecommitdiff
path: root/node.gyp
diff options
context:
space:
mode:
authorKirill Shatskiy <shaackiy@gmail.com>2020-05-04 12:50:42 +0300
committerGeoffrey Booth <webmaster@geoffreybooth.com>2020-05-24 16:22:31 -0700
commit8f10bb2da5bcf166fa1b414055f03352bbdb8126 (patch)
tree830ca235ef9a45c6b5d303213a63622afc1de60b /node.gyp
parentdd5f209213a2b75bb386b44c296a059fc10dfb02 (diff)
downloadios-node-v8-8f10bb2da5bcf166fa1b414055f03352bbdb8126.tar.gz
ios-node-v8-8f10bb2da5bcf166fa1b414055f03352bbdb8126.tar.bz2
ios-node-v8-8f10bb2da5bcf166fa1b414055f03352bbdb8126.zip
esm: share package.json cache between ESM and CJS loaders
Refs: https://github.com/nodejs/node/issues/30674 PR-URL: https://github.com/nodejs/node/pull/33229 Reviewed-By: Guy Bedford <guybedford@gmail.com> Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
Diffstat (limited to 'node.gyp')
-rw-r--r--node.gyp1
1 files changed, 1 insertions, 0 deletions
diff --git a/node.gyp b/node.gyp
index 73339c9637..63a5d341d8 100644
--- a/node.gyp
+++ b/node.gyp
@@ -159,6 +159,7 @@
'lib/internal/main/run_third_party_main.js',
'lib/internal/main/worker_thread.js',
'lib/internal/modules/run_main.js',
+ 'lib/internal/modules/package_json_reader.js',
'lib/internal/modules/cjs/helpers.js',
'lib/internal/modules/cjs/loader.js',
'lib/internal/modules/esm/loader.js',