1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-01-08 07:01:04 +00:00
trezor-wallet/.babelrc
2019-02-01 18:09:16 +01:00

47 lines
1023 B
Plaintext

{
"presets": [
[
"@babel/preset-env",
{
"useBuiltIns": "entry",
"loose": true
}
],
"@babel/preset-react",
"@babel/preset-flow"
],
"plugins": [
"react-hot-loader/babel",
"@babel/plugin-transform-flow-strip-types",
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-object-rest-spread",
[
"@babel/plugin-transform-runtime",
{
"regenerator": true
}
],
[
"module-resolver",
{
"root": [
"./src"
],
"alias": {
"public": [
"./public"
]
}
}
],
"babel-plugin-styled-components"
],
"env": {
"test": {
"presets": [
"jest"
]
}
}
}