dispatch/client/.babelrc
2017-02-16 03:55:50 +01:00

31 lines
662 B
Plaintext

{
"presets": [
["es2015", { "modules": false }],
"react",
"stage-0"
],
"plugins": ["transform-decorators-legacy"],
"env": {
"development": {
"plugins": [
["react-transform", {
"transforms": [{
"transform": "react-transform-hmr",
"imports": ["react"],
"locals": ["module"]
}, {
"transform": "react-transform-catch-errors",
"imports": ["react", "redbox-react"]
}]
}]
]
},
"production": {
"plugins": [
"transform-react-inline-elements",
"transform-react-constant-elements"
]
}
}
}