1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-28 03:08:30 +00:00
trezor-wallet/.babelrc

38 lines
808 B
Plaintext
Raw Normal View History

2017-12-13 11:01:37 +00:00
{
"presets": [
["env", {
"useBuiltIns": true,
"loose": true
}],
"react"
],
"plugins": [
"transform-class-properties",
"transform-object-rest-spread",
"transform-flow-strip-types",
["transform-runtime", {
"polyfill": false,
"regenerator": true
}]
],
"env": {
"development-connect": {
"plugins": [
"react-hot-loader/babel",
[
"babel-plugin-webpack-alias",
{ "config": "./webpack/webpack.config.connect.js", "findConfig": true }
]
]
},
"development-library": {
"plugins": [
"react-hot-loader/babel",
[
"babel-plugin-webpack-alias",
{ "config": "./webpack/webpack.config.library.js", "findConfig": true }
]
]
}
}
}