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