dispatch/client/.babelrc

33 lines
585 B
Plaintext
Raw Normal View History

2015-12-28 23:34:32 +00:00
{
2017-02-16 02:55:50 +00:00
"presets": [
2018-04-05 23:46:22 +00:00
[
"@babel/preset-env",
{
"modules": false,
2018-04-13 18:47:39 +00:00
"loose": true
}
2018-04-05 23:46:22 +00:00
],
"@babel/preset-react",
2018-04-25 03:36:27 +00:00
[
"@babel/preset-stage-0",
{
"decoratorsLegacy": true
}
]
],
2015-12-28 23:34:32 +00:00
"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"
]
2015-12-28 23:34:32 +00:00
}
}
}