-
-
Notifications
You must be signed in to change notification settings - Fork 121
/
babel.config.js
32 lines (32 loc) · 928 Bytes
/
babel.config.js
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
module.exports = function (api) {
api.cache(true);
return {
presets: ["babel-preset-expo"],
plugins: [
"babel-plugin-styled-components",
"react-native-reanimated/plugin",
[
"module-resolver",
{
root: ["./src"],
alias: {
"~graphql": "./src/graphql",
"~components": "./src/components",
"~validations": "./src/validations",
"~constants": "./src/constants",
"~themes": "./src/themes",
"~store": "./src/store",
"~reducers": "./src/store/reducers",
"~views": "./src/views",
"~services": "./src/services",
"~assets": "./src/assets",
"~images": "./src/assets/images",
"~animations": "./src/assets/animations",
"~config": "./src/config",
"~src": "./src",
},
},
],
],
};
};