Skip to content

Commit 338b46d

Browse files
committed
fix
1 parent 7d04d52 commit 338b46d

File tree

2 files changed

+35
-37
lines changed

2 files changed

+35
-37
lines changed

.babelrc

+3-5
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,14 @@
1212
]
1313
}
1414
}
15-
],
16-
"@babel/preset-stage-2"
15+
]
1716
],
1817
"plugins": [
1918
["@babel/plugin-transform-runtime", {
2019
"helpers": true,
21-
"polyfill": false,
22-
"regenerator": true,
23-
"moduleName": "@babel/runtime"
20+
"regenerator": true
2421
}],
22+
"@babel/plugin-syntax-dynamic-import",
2523
// "styled-components",
2624
"lodash"
2725
]

tsconfig.json

+32-32
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
{
2-
"compilerOptions": {
3-
"target": "esnext",
4-
"module": "esnext",
5-
"moduleResolution": "node",
6-
"allowSyntheticDefaultImports": true,
7-
// "resolveJsonModule": true,
8-
"baseUrl": "./src",
9-
// "sourceMap": true, // not needed when assembled with webpack
10-
// "watch": true, // not needed when assembled with webpack
11-
"pretty": true,
12-
"experimentalDecorators": true,
13-
"jsx": "preserve",
14-
"strictNullChecks": true,
15-
"noImplicitThis": true,
16-
"noUnusedLocals": true,
17-
"downlevelIteration": true,
18-
"resolveJsonModule": true,
19-
"lib": [
20-
"es2017",
21-
"dom",
22-
"dom.iterable",
23-
"webworker"
24-
]
25-
},
26-
"awesomeTypescriptLoaderOptions": {
27-
"useBabel": true,
28-
"babelCore": "@babel/core"
29-
/* ... */
30-
},
31-
"exclude": [
32-
"node_modules"
2+
"compilerOptions": {
3+
"target": "esnext",
4+
"module": "esnext",
5+
"moduleResolution": "node",
6+
"allowSyntheticDefaultImports": true,
7+
// "resolveJsonModule": true,
8+
"baseUrl": "./src",
9+
// "sourceMap": true, // not needed when assembled with webpack
10+
// "watch": true, // not needed when assembled with webpack
11+
"pretty": true,
12+
"experimentalDecorators": true,
13+
"jsx": "preserve",
14+
"strictNullChecks": true,
15+
"noImplicitThis": true,
16+
"noUnusedLocals": true,
17+
"downlevelIteration": true,
18+
"resolveJsonModule": true,
19+
"lib": [
20+
"es2017",
21+
"dom",
22+
"dom.iterable",
23+
"webworker"
3324
]
34-
}
25+
},
26+
"awesomeTypescriptLoaderOptions": {
27+
"useBabel": true,
28+
"babelCore": "@babel/core"
29+
/* ... */
30+
},
31+
"exclude": [
32+
"node_modules"
33+
]
34+
}

0 commit comments

Comments
 (0)