dispatch/client/.babelrc
2018-04-05 21:16:37 +02:00

28 lines
555 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"
]
}
}
}