Revert "change babel rc"

This reverts commit f978318732.
This commit is contained in:
casperlamboo 2017-11-06 11:56:12 +01:00
parent f978318732
commit ff313bbbab

View File

@ -1,11 +1,18 @@
{ {
"presets": [ "env": {
["env", { "module": {
"targets": { node: "6" }, "presets": [
"modules": false ["env", {
}], "targets": { node: "6" },
"react" "modules": false
], }],
"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",