Skip to content

Commit

Permalink
babel: use babel-preset-env
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanong committed Apr 17, 2017
1 parent 9fd7b62 commit bb43842
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{
"ignore": ["*.min.js"],
"compact": false,
"presets": ["es2015-node5", "stage-2"]
"presets": [["env", {
"targets": {
"node": "current"
}
}], "stage-2"]
}
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@
"devDependencies": {
"babel-eslint": "^6.0.2",
"babel-jest": "^19.0.0",
"babel-polyfill": "^6.8.0",
"babel-preset-es2015": "^6.6.0",
"babel-preset-es2015-node5": "^1.2.0",
"babel-preset-env": "^1.4.0",
"babel-preset-stage-2": "^6.5.0",
"babel-register": "^6.18.0",
"blue-tape": "^1.0.0",
Expand Down

0 comments on commit bb43842

Please sign in to comment.