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", {
"targets": { node: "6" },
"modules": false
}],
"react"
],
"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",