Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
inker committed Apr 8, 2019
1 parent 916809d commit cd1e119
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 36 deletions.
8 changes: 3 additions & 5 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,14 @@
]
}
}
],
"@babel/preset-stage-2"
]
],
"plugins": [
["@babel/plugin-transform-runtime", {
"helpers": true,
"polyfill": false,
"regenerator": true,
"moduleName": "@babel/runtime"
"regenerator": true
}],
"@babel/plugin-syntax-dynamic-import",
// "styled-components",
"lodash"
]
Expand Down
62 changes: 31 additions & 31 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
{
"compilerOptions": {
"target": "esnext",
"module": "esnext",
"moduleResolution": "node",
"allowSyntheticDefaultImports": true,
// "resolveJsonModule": true,
"baseUrl": "./src",
// "sourceMap": true, // not needed when assembled with webpack
// "watch": true, // not needed when assembled with webpack
"pretty": true,
"experimentalDecorators": true,
"jsx": "preserve",
"strictNullChecks": true,
"noImplicitThis": true,
"noUnusedLocals": true,
"downlevelIteration": true,
"lib": [
"es2017",
"dom",
"dom.iterable",
"webworker"
]
},
"awesomeTypescriptLoaderOptions": {
"useBabel": true,
"babelCore": "@babel/core"
/* ... */
},
"exclude": [
"node_modules"
"compilerOptions": {
"target": "esnext",
"module": "esnext",
"moduleResolution": "node",
"allowSyntheticDefaultImports": true,
// "resolveJsonModule": true,
"baseUrl": "./src",
// "sourceMap": true, // not needed when assembled with webpack
// "watch": true, // not needed when assembled with webpack
"pretty": true,
"experimentalDecorators": true,
"jsx": "preserve",
"strictNullChecks": true,
"noImplicitThis": true,
"noUnusedLocals": true,
"downlevelIteration": true,
"lib": [
"es2017",
"dom",
"dom.iterable",
"webworker"
]
}
},
"awesomeTypescriptLoaderOptions": {
"useBabel": true,
"babelCore": "@babel/core"
/* ... */
},
"exclude": [
"node_modules"
]
}

0 comments on commit cd1e119

Please sign in to comment.