forked from treehouse/mastodon
39 lines
620 B
Plaintext
39 lines
620 B
Plaintext
{
|
|
"presets": [
|
|
"react",
|
|
[
|
|
"env",
|
|
{
|
|
"loose": true,
|
|
"targets": {
|
|
"browsers": ["last 2 versions", "IE >= 11", "iOS >= 9"]
|
|
}
|
|
}
|
|
]
|
|
],
|
|
"plugins": [
|
|
"syntax-dynamic-import",
|
|
"transform-object-rest-spread",
|
|
"transform-class-properties",
|
|
[
|
|
"react-intl",
|
|
{
|
|
"messagesDir": "./build/messages"
|
|
}
|
|
]
|
|
],
|
|
"env": {
|
|
"development": {
|
|
"plugins": [
|
|
"transform-react-jsx-source",
|
|
"transform-react-jsx-self"
|
|
]
|
|
},
|
|
"production": {
|
|
"plugins": [
|
|
"lodash"
|
|
]
|
|
}
|
|
}
|
|
}
|