Revert "remove babel rc"

This reverts commit 5c5ddad0b9.
This commit is contained in:
casperlamboo 2017-12-12 10:33:28 +01:00
parent 7e3d6e7c02
commit f8e4c801df

25
.babelrc Normal file
View File

@ -0,0 +1,25 @@
{
"env": {
"module": {
"presets": [
["env", {
"targets": { "node": "6" },
"modules": false
}],
"stage-0",
"react"
]
},
"main": {
"presets": ["env", "stage-0", "react"]
}
},
"plugins": [
"babel-plugin-transform-regenerator",
"babel-plugin-transform-object-rest-spread",
"babel-plugin-inline-import",
"babel-plugin-transform-class-properties",
"babel-plugin-transform-es2015-classes",
"babel-plugin-syntax-dynamic-import"
]
}