1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-23 22:56:20 +09:00
mastodon/.babelrc

37 lines
534 B
Plaintext

{
"presets": [
"es2015",
"react",
[
"env",
{
"loose": true,
"modules": false
}
]
],
"plugins": [
"transform-decorators-legacy",
"transform-object-rest-spread",
[
"react-intl",
{
"messagesDir": "./build/messages"
}
]
],
"env": {
"development": {
"plugins": [
"transform-react-jsx-source",
"transform-react-jsx-self"
]
},
"production": {
"plugins": [
"lodash"
]
}
}
}