2016-08-31 15:15:12 +01:00
|
|
|
{
|
2017-05-03 01:04:16 +01:00
|
|
|
"presets": [
|
|
|
|
"react",
|
|
|
|
[
|
|
|
|
"env",
|
|
|
|
{
|
|
|
|
"loose": true,
|
2017-05-14 11:59:40 +01:00
|
|
|
"modules": false,
|
2017-05-06 20:25:26 +01:00
|
|
|
"targets": {
|
|
|
|
"browsers": ["last 2 versions", "IE >= 11", "iOS >= 9"]
|
|
|
|
}
|
2017-05-03 01:04:16 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
],
|
2016-11-13 12:13:36 +00:00
|
|
|
"plugins": [
|
2017-05-07 01:42:38 +01:00
|
|
|
"syntax-dynamic-import",
|
2017-05-03 01:04:16 +01:00
|
|
|
"transform-object-rest-spread",
|
2017-05-12 13:44:10 +01:00
|
|
|
"transform-class-properties",
|
2017-05-03 01:04:16 +01:00
|
|
|
[
|
|
|
|
"react-intl",
|
|
|
|
{
|
|
|
|
"messagesDir": "./build/messages"
|
|
|
|
}
|
|
|
|
]
|
2017-05-06 03:18:23 +01:00
|
|
|
],
|
|
|
|
"env": {
|
|
|
|
"development": {
|
|
|
|
"plugins": [
|
|
|
|
"transform-react-jsx-source",
|
|
|
|
"transform-react-jsx-self"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"production": {
|
|
|
|
"plugins": [
|
2017-05-18 18:14:58 +01:00
|
|
|
"lodash",
|
2017-05-19 01:42:21 +01:00
|
|
|
[
|
|
|
|
"transform-react-remove-prop-types",
|
|
|
|
{
|
|
|
|
"mode": "remove",
|
|
|
|
"removeImport": true,
|
|
|
|
"additionalLibraries": [
|
|
|
|
"react-immutable-proptypes"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
2017-05-18 18:14:58 +01:00
|
|
|
[
|
|
|
|
"transform-runtime",
|
|
|
|
{
|
|
|
|
"helpers": true,
|
|
|
|
"polyfill": false,
|
|
|
|
"regenerator": false
|
|
|
|
}
|
|
|
|
]
|
2017-05-06 03:18:23 +01:00
|
|
|
]
|
2017-05-14 11:59:40 +01:00
|
|
|
},
|
|
|
|
"test": {
|
|
|
|
"plugins": [
|
|
|
|
"transform-es2015-modules-commonjs"
|
|
|
|
]
|
2017-05-06 03:18:23 +01:00
|
|
|
}
|
|
|
|
}
|
2016-08-31 15:15:12 +01:00
|
|
|
}
|