Skip to content

Commit cd1e119

Browse files
committed
fix
1 parent 916809d commit cd1e119

File tree

2 files changed

+34
-36
lines changed

2 files changed

+34
-36
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

+31-31
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
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-
"lib": [
19-
"es2017",
20-
"dom",
21-
"dom.iterable",
22-
"webworker"
23-
]
24-
},
25-
"awesomeTypescriptLoaderOptions": {
26-
"useBabel": true,
27-
"babelCore": "@babel/core"
28-
/* ... */
29-
},
30-
"exclude": [
31-
"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+
"lib": [
19+
"es2017",
20+
"dom",
21+
"dom.iterable",
22+
"webworker"
3223
]
33-
}
24+
},
25+
"awesomeTypescriptLoaderOptions": {
26+
"useBabel": true,
27+
"babelCore": "@babel/core"
28+
/* ... */
29+
},
30+
"exclude": [
31+
"node_modules"
32+
]
33+
}

0 commit comments

Comments
 (0)