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