36 lines
557 B
Text
36 lines
557 B
Text
{
|
|
"presets": [
|
|
"react",
|
|
[
|
|
"env",
|
|
{
|
|
"loose": true,
|
|
"targets": {
|
|
"browsers": ["last 2 versions", "IE >= 11", "iOS >= 9"]
|
|
}
|
|
}
|
|
]
|
|
],
|
|
"plugins": [
|
|
"transform-object-rest-spread",
|
|
[
|
|
"react-intl",
|
|
{
|
|
"messagesDir": "./build/messages"
|
|
}
|
|
]
|
|
],
|
|
"env": {
|
|
"development": {
|
|
"plugins": [
|
|
"transform-react-jsx-source",
|
|
"transform-react-jsx-self"
|
|
]
|
|
},
|
|
"production": {
|
|
"plugins": [
|
|
"lodash"
|
|
]
|
|
}
|
|
}
|
|
}
|