Skip to content

Commit

Permalink
build: Use babel-preset-env instead of es2015
Browse files Browse the repository at this point in the history
  • Loading branch information
fritz-c committed Oct 5, 2017
1 parent ec6d5f5 commit 7ac63e2
Show file tree
Hide file tree
Showing 3 changed files with 193 additions and 262 deletions.
14 changes: 12 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
{
"presets": ["es2015", "react"],
"plugins": ["transform-object-rest-spread", "react-hot-loader/babel"]
"presets": [
["env", {
"targets": {
"browsers": ["last 2 versions", "ie >= 9"]
}
}],
"react"
],
"plugins": [
"transform-object-rest-spread",
"react-hot-loader/babel"
]
}
Loading

0 comments on commit 7ac63e2

Please sign in to comment.