Revert "remove babelrc"

This reverts commit 175689bd64.
This commit is contained in:
casperlamboo 2017-12-19 16:03:42 +01:00
parent 175689bd64
commit a7b2852c6e

25
.babelrc Normal file
View File

@ -0,0 +1,25 @@
{
"env": {
"module": {
"presets": [
["env", {
"targets": {
"node": "6",
"browsers": ["last 2 versions", "safari >= 7", "not ie < 11"]
},
"modules": false
}],
"react"
]
},
"main": {
"presets": ["env", "react"]
}
},
"plugins": [
"babel-plugin-transform-object-rest-spread",
"babel-plugin-transform-class-properties",
"babel-plugin-transform-runtime",
"babel-plugin-transform-es2015-classes"
]
}