-
Notifications
You must be signed in to change notification settings - Fork 12
/
.babelrc
35 lines (35 loc) · 807 Bytes
/
.babelrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
"presets": ["module:metro-react-native-babel-preset"],
"sourceMaps": "inline",
"plugins": [
[
"@babel/plugin-proposal-decorators",
{
"legacy": true
}
],
[
"@babel/plugin-transform-runtime",
{
"helpers": true,
"regenerator": false
}
],
["module-resolver", {
"root": ["."],
"alias": {
"@apis": "./src/apis",
"@config": "./config",
"@screen": "./src/components/screen",
"@navigation": "./src/components/navigation",
"@models": "./src/models",
"@stores": "./src/stores",
"@utils": "./src/utils",
"@STRINGS": "./STRINGS",
"@assets": "./assets",
"@shared": "./src/components/shared",
"@dev": "./src/dev"
}
}]
]
}