-
-
Notifications
You must be signed in to change notification settings - Fork 92
/
.babelrc
36 lines (36 loc) · 1.12 KB
/
.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
36
{
"presets": ["module:metro-react-native-babel-preset"],
"overrides": [{
"plugins": [
["@babel/plugin-transform-private-methods", {
"loose": true
}]
]
}],
"plugins": [
[
"module-resolver",
{
"root": ["./src"],
"alias": [
{ "@shared-components": "./src/shared/components" },
{ "@shared-constants": "./src/shared/constants" },
{ "@font-size": "./src/shared/theme/font-size" },
{ "@api": "./src/services/api/index" },
{ "@fonts": "./src/shared/theme/fonts" },
{ "@colors": "./src/shared/theme/colors" },
{ "@theme": "./src/shared/theme" },
{ "@models": "./src/services/models" },
{ "@services": "./src/services" },
{ "@screens": "./src/screens" },
{ "@utils": "./src/utils/" },
{ "@assets": "./src/assets/" },
{ "@event-emitter": "./src/services/event-emitter" },
{ "@local-storage": "./src/services/local-storage" }
],
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
],
"react-native-reanimated/plugin"
]
}