You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
metu.life/.babelrc

38 lines
586 B

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