Skip to content

Commit

Permalink
fix(build): use babel to convert to es5
Browse files Browse the repository at this point in the history
Previously, Typescript transpiles the scripts to ES5, but now it just
converts to ES6 and Babel further transpiles this to compatible code.
  • Loading branch information
bartlangelaan committed Apr 10, 2018
1 parent 7a6c49d commit 671b73b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "ES5",
"target": "ES6",
"rootDir": "./packages",
"sourceMap": true,
"inlineSourceMap": false,
"allowJs": true,
"jsx": "react",
"allowSyntheticDefaultImports": true
"allowSyntheticDefaultImports": true,
"moduleResolution": "node"
},
"include": ["packages/*/src"],
"exclude": [
Expand Down

0 comments on commit 671b73b

Please sign in to comment.