1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-12-29 10:28:08 +00:00
trezor-wallet/.babelrc
Szymon Lesisz 6a9fde9f86 first
2017-12-13 12:01:37 +01:00

38 lines
808 B
Plaintext

{
"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 }
]
]
}
}
}