diff --git a/test/e2e/scripts/transpile.js b/test/e2e/scripts/transpile.js index 37fbe7fc..741c3cfe 100644 --- a/test/e2e/scripts/transpile.js +++ b/test/e2e/scripts/transpile.js @@ -13,6 +13,9 @@ function transpile(dir) { presets: [ ['@babel/preset-env', { modules: false, + targets: { + node: true, + }, }], ['@babel/preset-typescript', { onlyRemoveTypeImports: true, diff --git a/tsconfig.json b/tsconfig.json index 12b383c9..a79f15a2 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -17,6 +17,7 @@ "strictNullChecks": true, "strictFunctionTypes": true, "removeComments": true, + "isolatedModules": true, "allowSyntheticDefaultImports": true },