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
|
2017-06-21 07:03:24 +00:00
|
|
|
}
|
2018-04-05 23:46:22 +00:00
|
|
|
],
|
2018-04-05 19:13:32 +00:00
|
|
|
"@babel/preset-react",
|
2018-04-25 03:36:27 +00:00
|
|
|
[
|
|
|
|
"@babel/preset-stage-0",
|
|
|
|
{
|
|
|
|
"decoratorsLegacy": true
|
|
|
|
}
|
|
|
|
]
|
2017-06-21 07:03:24 +00:00
|
|
|
],
|
2015-12-28 23:34:32 +00:00
|
|
|
"env": {
|
|
|
|
"development": {
|
2017-04-11 22:00:59 +00:00
|
|
|
"plugins": ["react-hot-loader/babel"]
|
2016-02-06 23:03:11 +00:00
|
|
|
},
|
2017-04-23 06:45:35 +00:00
|
|
|
"test": {
|
2018-04-05 19:13:32 +00:00
|
|
|
"plugins": ["@babel/plugin-transform-modules-commonjs"]
|
2017-04-23 06:45:35 +00:00
|
|
|
},
|
2016-02-06 23:03:11 +00:00
|
|
|
"production": {
|
|
|
|
"plugins": [
|
2018-04-05 19:13:32 +00:00
|
|
|
"@babel/plugin-transform-react-inline-elements",
|
|
|
|
"@babel/plugin-transform-react-constant-elements"
|
2016-02-06 23:03:11 +00:00
|
|
|
]
|
2015-12-28 23:34:32 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|