This commit is contained in:
Nicolò Ribaudo
2021-02-22 23:35:18 +01:00
parent 771841f764
commit c827193d9c
60 changed files with 282 additions and 290 deletions

View File

@@ -86,7 +86,7 @@ export default declare((api, options, dirname) => {
// instead of require("helper") so that it has the same interface as the
// ESM helper, and bundlers can better exchange one format for the other.
// TODO(Babel 8): Remove this check, it's always true
const DUAL_MODE_RUNTIME = "7.12.12";
const DUAL_MODE_RUNTIME = "7.13.0";
const supportsCJSDefault = hasMinVersion(DUAL_MODE_RUNTIME, runtimeVersion);
if (supportsCJSDefault && useESModules && !absoluteRuntime) {
console.warn(