dispatch/client/.babelrc
Ken-Håvard Lieng 4f72e164d7 Use immer
2018-04-25 05:52:55 +02:00

33 lines
585 B
Plaintext

{
"presets": [
[
"@babel/preset-env",
{
"modules": false,
"loose": true
}
],
"@babel/preset-react",
[
"@babel/preset-stage-0",
{
"decoratorsLegacy": true
}
]
],
"env": {
"development": {
"plugins": ["react-hot-loader/babel"]
},
"test": {
"plugins": ["@babel/plugin-transform-modules-commonjs"]
},
"production": {
"plugins": [
"@babel/plugin-transform-react-inline-elements",
"@babel/plugin-transform-react-constant-elements"
]
}
}
}