summaryrefslogtreecommitdiff
path: root/src/node_options.cc
diff options
context:
space:
mode:
authorGuy Bedford <guybedford@gmail.com>2019-10-07 00:09:20 -0400
committerRich Trott <rtrott@gmail.com>2019-10-10 16:29:08 -0700
commitb798f645667c0b60cab84c467713a21c5676998d (patch)
tree45377fa6dd8fbf4bf58a842af61672f04329a9d5 /src/node_options.cc
parent1294c7e48564a549ef391786b67798d29238aace (diff)
downloadandroid-node-v8-b798f645667c0b60cab84c467713a21c5676998d.tar.gz
android-node-v8-b798f645667c0b60cab84c467713a21c5676998d.tar.bz2
android-node-v8-b798f645667c0b60cab84c467713a21c5676998d.zip
esm: unflag --experimental-exports
PR-URL: https://github.com/nodejs/node/pull/29867 Reviewed-By: Jan Krems <jan.krems@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'src/node_options.cc')
-rw-r--r--src/node_options.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/node_options.cc b/src/node_options.cc
index c75a5f5487..23fa3c0f54 100644
--- a/src/node_options.cc
+++ b/src/node_options.cc
@@ -317,10 +317,6 @@ EnvironmentOptionsParser::EnvironmentOptionsParser() {
"experimental Source Map V3 support",
&EnvironmentOptions::enable_source_maps,
kAllowedInEnvironment);
- AddOption("--experimental-exports",
- "experimental support for exports in package.json",
- &EnvironmentOptions::experimental_exports,
- kAllowedInEnvironment);
AddOption("--experimental-json-modules",
"experimental JSON interop support for the ES Module loader",
&EnvironmentOptions::experimental_json_modules,
@@ -335,7 +331,6 @@ EnvironmentOptionsParser::EnvironmentOptionsParser() {
"experimental ES Module support and caching modules",
&EnvironmentOptions::experimental_modules,
kAllowedInEnvironment);
- Implies("--experimental-modules", "--experimental-exports");
AddOption("--experimental-wasm-modules",
"experimental ES Module support for webassembly modules",
&EnvironmentOptions::experimental_wasm_modules,