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