Skip to content

Commit

Permalink
Replace babel-preset-es2015 with babel-preset-env
Browse files Browse the repository at this point in the history
CI is failing because babel-preset-es2015 is deprecated
  • Loading branch information
xzyfer committed Dec 3, 2018
1 parent 97063c8 commit b044144
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"presets": [
["es2015", {"loose": true}]
["env", {"node": true}]
]
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-jest": "^22.4.3",
"babel-preset-es2015": "^6.24.1",
"babel-preset-env": "^1.7.0",
"glob": "^7.1.2",
"jest": "^22.4.3",
"sass-spec": "^3.5.1"
Expand Down

0 comments on commit b044144

Please sign in to comment.