File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,10 @@ void EnvironmentOptions::CheckOptions(std::vector<std::string>* errors,
121121
}
122122
}
123123

124+
if (!experimental_policy.empty() || experimental_https_modules) {
125+
require_module = false;
126+
}
127+
124128
if (!type.empty()) {
125129
if (type != "commonjs" && type != "module") {
126130
errors->push_back("--experimental-default-type must be "

0 commit comments

Comments
 (0)