2016-08-31 14:15:12 +00:00
|
|
|
{
|
2017-05-03 00:04:16 +00:00
|
|
|
"presets": [
|
|
|
|
"es2015",
|
|
|
|
"react",
|
|
|
|
[
|
|
|
|
"env",
|
|
|
|
{
|
|
|
|
"loose": true,
|
|
|
|
"modules": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
],
|
2016-11-13 12:13:36 +00:00
|
|
|
"plugins": [
|
|
|
|
"transform-decorators-legacy",
|
2017-05-03 00:04:16 +00:00
|
|
|
"transform-object-rest-spread",
|
|
|
|
[
|
|
|
|
"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": [
|
|
|
|
"lodash"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
2016-08-31 14:15:12 +00:00
|
|
|
}
|