Implement importInterop: "node" option for module transforms (#12838)

This commit is contained in:
Nicolò Ribaudo
2021-04-28 18:22:47 +02:00
committed by GitHub
parent 22b0eb038f
commit be03be1bc3
101 changed files with 834 additions and 32 deletions

View File

@@ -30,6 +30,7 @@ export default declare((api, options) => {
strict,
strictMode,
noInterop,
importInterop,
lazy = false,
// Defaulting to 'true' for now. May change before 7.x major.
allowCommonJSExports = true,
@@ -178,6 +179,7 @@ export default declare((api, options) => {
strictMode,
allowTopLevelThis,
noInterop,
importInterop,
lazy,
esNamespaceOnly:
typeof state.filename === "string" &&