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": { "presets": [
"module": { ["env", {
"presets": [ "targets": { node: "6" },
["env", { "modules": false
"targets": { node: "6" }, }],
"modules": false "react"
}], ],
"react"
]
},
"main": {
"presets": ["env", "react"]
}
},
"plugins": [ "plugins": [
"babel-plugin-transform-regenerator", "babel-plugin-transform-regenerator",
"babel-plugin-transform-object-rest-spread", "babel-plugin-transform-object-rest-spread",