1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-12-27 09:28:19 +00:00
trezor-wallet/.babelrc

36 lines
937 B
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-07-30 11:52:06 +00:00
["babel-plugin-root-import", {
"rootPathSuffix": "./src",
2018-08-10 17:07:51 +00:00
"rootPathPrefix": "~",
"alias": {
"components": "./src/js/components",
"config": "./src/js/config",
"reducers": "./src/js/reducers",
"actions": "./src/js/actions",
"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
}