1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-01 16:28:19 +09:00
mastodon/.babelrc

45 lines
738 B
Plaintext
Raw Normal View History

{
"presets": [
"react",
[
"env",
{
"loose": true,
"modules": false,
"targets": {
"browsers": ["last 2 versions", "IE >= 11", "iOS >= 9"]
}
}
]
],
2016-11-13 21:13:36 +09:00
"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"
]
},
"test": {
"plugins": [
"transform-es2015-modules-commonjs"
]
}
}
}