33 lines
648 B
Plaintext
33 lines
648 B
Plaintext
{
|
|
"presets": [
|
|
"es2017", "es2016", "es2015",
|
|
"stage-0", "react"
|
|
],
|
|
"plugins": [
|
|
"transform-runtime",
|
|
"transform-decorators-legacy",
|
|
"transform-class-properties",
|
|
"transform-object-rest-spread",
|
|
"lodash"
|
|
],
|
|
"retainLines": true,
|
|
"env": {
|
|
"production": {
|
|
"plugins": [
|
|
"transform-react-remove-prop-types"
|
|
]
|
|
},
|
|
"development": {
|
|
"plugins": [
|
|
"react-hot-loader/babel",
|
|
["react-intl", { "messagesDir": "./.build/i18n/" }]
|
|
]
|
|
},
|
|
"test": {
|
|
"plugins": [
|
|
["babel-plugin-webpack-alias", { "config": "webpack/test.js" }]
|
|
]
|
|
}
|
|
}
|
|
}
|