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