Revert "remove babel rc"

This reverts commit 5c5ddad0b9.
pull/6/head
casperlamboo 5 years ago
parent 7e3d6e7c02
commit f8e4c801df
  1. 25
      .babelrc

@ -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"
]
}
Loading…
Cancel
Save