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