1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-24 09:18:09 +00:00
trezor-wallet/.babelrc

38 lines
1.0 KiB
Plaintext
Raw Normal View History

2017-12-13 11:01:37 +00:00
{
"presets": [
["env", {
"useBuiltIns": true,
"loose": true
}],
"react"
],
"plugins": [
2018-08-10 15:18:22 +00:00
"react-hot-loader/babel",
"transform-class-properties",
"transform-object-rest-spread",
"transform-flow-strip-types",
["transform-runtime", {
"polyfill": false,
"regenerator": true
}],
2018-08-14 12:56:47 +00:00
["module-resolver", {
2018-08-14 14:06:34 +00:00
"root": ["./src"],
2018-08-14 12:56:47 +00:00
"alias": {
"config": "./src/js/config",
"constants": "./src/js/constants",
"components": "./src/js/components",
"actions": "./src/js/actions",
"reducers": "./src/js/reducers",
"support": "./src/js/support",
"utils": "./src/js/utils",
"services": "./src/js/services"
}
2018-07-30 14:30:25 +00:00
}],
"babel-plugin-styled-components"
2018-07-30 12:10:57 +00:00
],
"env": {
"test": {
"presets": ["jest"]
}
}
2017-12-13 11:01:37 +00:00
}