mirror of https://github.com/trezor/trezor-wallet
parent
a10c9b08da
commit
86e21f7ffb
@ -1,31 +1,46 @@
|
|||||||
{
|
{
|
||||||
"presets": [
|
"presets": [
|
||||||
["env", {
|
[
|
||||||
"useBuiltIns": true,
|
"@babel/preset-env",
|
||||||
"loose": true
|
{
|
||||||
}],
|
"useBuiltIns": "entry",
|
||||||
"react"
|
"loose": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"@babel/preset-react",
|
||||||
|
"@babel/preset-flow"
|
||||||
],
|
],
|
||||||
"plugins": [
|
"plugins": [
|
||||||
"react-hot-loader/babel",
|
"react-hot-loader/babel",
|
||||||
"transform-class-properties",
|
"@babel/plugin-transform-flow-strip-types",
|
||||||
"transform-object-rest-spread",
|
"@babel/plugin-proposal-class-properties",
|
||||||
"transform-flow-strip-types",
|
"@babel/plugin-proposal-object-rest-spread",
|
||||||
["transform-runtime", {
|
[
|
||||||
"polyfill": false,
|
"@babel/plugin-transform-runtime",
|
||||||
"regenerator": true
|
{
|
||||||
}],
|
"regenerator": true
|
||||||
["module-resolver", {
|
}
|
||||||
"root": ["./src"],
|
],
|
||||||
"alias": {
|
[
|
||||||
"public": ["./public"]
|
"module-resolver",
|
||||||
|
{
|
||||||
|
"root": [
|
||||||
|
"./src"
|
||||||
|
],
|
||||||
|
"alias": {
|
||||||
|
"public": [
|
||||||
|
"./public"
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}],
|
],
|
||||||
"babel-plugin-styled-components"
|
"babel-plugin-styled-components"
|
||||||
],
|
],
|
||||||
"env": {
|
"env": {
|
||||||
"test": {
|
"test": {
|
||||||
"presets": ["jest"]
|
"presets": [
|
||||||
|
"jest"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in new issue