Skip to content

Commit fe4cd3e

Browse files
committed
- First draft of babel 7 support
1 parent e65f252 commit fe4cd3e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

test/e2e/scripts/transpile.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ function transpile(dir) {
1313
presets: [
1414
['@babel/preset-env', {
1515
modules: false,
16+
targets: {
17+
node: true,
18+
},
1619
}],
1720
['@babel/preset-typescript', {
1821
onlyRemoveTypeImports: true,

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"strictNullChecks": true,
1818
"strictFunctionTypes": true,
1919
"removeComments": true,
20+
"isolatedModules": true,
2021
"allowSyntheticDefaultImports": true
2122
},
2223

0 commit comments

Comments
 (0)