Skip to content

Commit

Permalink
use babel-preset-env, fixes #36
Browse files Browse the repository at this point in the history
  • Loading branch information
brandly committed Mar 20, 2018
1 parent dfa37fd commit ea24a00
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .babelrc
@@ -1,4 +1,11 @@
{
"presets": ["es2015", "react"],
"presets": [
"react",
["env", {
"targets": {
node: "7.9.0"
}
}]
],
"plugins": ["transform-node-env-inline"]
}
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -34,7 +34,7 @@
"babel-eslint": "8.0.2",
"babel-jest": "21.2.0",
"babel-plugin-transform-node-env-inline": "0.3.0",
"babel-preset-es2015": "6.24.1",
"babel-preset-env": "1.6.1",
"babel-preset-flow": "6.23.0",
"babel-preset-react": "6.24.1",
"babel-register": "6.26.0",
Expand Down

0 comments on commit ea24a00

Please sign in to comment.