diff options
author | Guy Bedford <guybedford@gmail.com> | 2019-12-17 08:58:30 +0300 |
---|---|---|
committer | Myles Borins <mylesborins@google.com> | 2020-01-16 04:48:52 +0300 |
commit | fc4e4135547a73bb54bf7d56ad1d478cf80c3140 (patch) | |
tree | 40d73f89090ef57572c3d2e6fc051f588c097042 /src/module_wrap.cc | |
parent | 7ab33f2893002d50e25542cc6cbfb53ff28b0d41 (diff) |
module: unflag conditional exports
PR-URL: https://github.com/nodejs/node/pull/31001
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Diffstat (limited to 'src/module_wrap.cc')
-rw-r--r-- | src/module_wrap.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/module_wrap.cc b/src/module_wrap.cc index f06b9d40c33..2368279d8e6 100644 --- a/src/module_wrap.cc +++ b/src/module_wrap.cc @@ -1020,7 +1020,6 @@ Maybe<URL> ResolveExportsTarget(Environment* env, key->ToString(context).ToLocalChecked()); std::string key_str(*key_utf8, key_utf8.length()); if (key_str == "node" || key_str == "import") { - if (!env->options()->experimental_conditional_exports) continue; matched = true; conditionalTarget = target_obj->Get(context, key).ToLocalChecked(); Maybe<URL> resolved = ResolveExportsTarget(env, pjson_url, |