dispatch/client/.babelrc
Ken-Håvard Lieng b176b79144 Add prettier
2018-04-06 01:46:22 +02:00

31 lines
585 B
Plaintext

{
"presets": [
[
"@babel/preset-env",
{
"modules": false,
"loose": true,
"targets": {
"browsers": ["ie 11"]
}
}
],
"@babel/preset-react",
"@babel/preset-stage-0"
],
"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"
]
}
}
}