insomnia/.babelrc

30 lines
479 B
Plaintext
Raw Normal View History

{
"presets": [
2017-07-17 23:32:47 +00:00
"react",
"flow"
],
"plugins": [
"transform-object-rest-spread",
"transform-decorators-legacy"
],
"env": {
"development": {
"plugins": [
"react-hot-loader/babel"
]
},
"test": {
"presets": [
[
"env", {
"targets": {
"node": "8.4"
}
}
],
2017-07-17 23:47:54 +00:00
"flow" // We need to add this again because it has to run before es2015
]
}
}
}