openethereum/js/.babelrc
Jaco Greeff e7abd3510a Use babel-runtime as opposed to babel-polyfill (#5662)
* Add babel-runtime

* Add babel-transform-runtime plugin

* Remove babel-polyfill imports

* Remove babel-polyfill package

* Transform exports to work around webpack 2.2
2017-05-19 16:51:15 +02:00

35 lines
709 B
Plaintext

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