-
Notifications
You must be signed in to change notification settings - Fork 0
/
babel.config.js
32 lines (32 loc) · 927 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: [
'react-native-reanimated/plugin',
[
'module-resolver',
{
root: ['./src'],
extensions: ['.ts', '.tsx', '.js', '.json'],
alias: {
'@assets': './src/assets',
'@components': './src/components',
'@components-of-screens': './src/screens',
'@contexts': './src/contexts',
'@dtos': './src/dtos',
'@hooks': './src/hooks',
'@reducers': './src/reducers',
'@routes': './src/routes',
'@screens': './src/screens',
'@services': './src/services',
'@storages': './src/storages',
'@store': './src/store',
'@themes': './src/themes',
'@utils': './src/utils',
},
},
],
],
};
};