Skip to content

Commit

Permalink
Switch from babel-preset-latest to babel-preset-env
Browse files Browse the repository at this point in the history
  • Loading branch information
maxdavidson committed Mar 16, 2017
1 parent 938ef32 commit 28dfd7c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .babelrc
@@ -1,7 +1,10 @@
{
"presets": [
["latest", {
"es2015": { "modules": false }
["env", {
"targets": {
"node": 4
},
"modules": false
}]
],
"plugins": [
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -48,7 +48,7 @@
"babel-core": "^6.14.0",
"babel-plugin-external-helpers": "^6.8.0",
"babel-plugin-istanbul": "^3.0.0",
"babel-preset-latest": "^6.14.0",
"babel-preset-env": "^1.2.2",
"coveralls": "^2.11.9",
"cross-env": "^3.0.0",
"eslint": "^3.8.0",
Expand Down

0 comments on commit 28dfd7c

Please sign in to comment.