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