change babel rc

This commit is contained in:
casperlamboo 2017-11-06 11:51:46 +01:00
parent 2e670c8f1e
commit f978318732

View File

@ -1,18 +1,11 @@
{
"env": {
"module": {
"presets": [
["env", {
"targets": { node: "6" },
"modules": false
}],
"react"
]
},
"main": {
"presets": ["env", "react"]
}
},
],
"plugins": [
"babel-plugin-transform-regenerator",
"babel-plugin-transform-object-rest-spread",