-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbabel.config.js
31 lines (31 loc) · 906 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
module.exports = function (api) {
api.cache(true);
return {
presets: ['babel-preset-expo'],
plugins: [
[
'module-resolver',
{
root: ['.'],
extensions: ['.ios.js', '.android.js', '.js', '.ts', '.tsx', '.json'],
alias: {
'@/app': './src/app',
'@/assets': './src/assets',
'@/common': './src/common',
'@/components': './src/components',
'@/features': './src/features',
'@/lib': './src/lib',
'@/navigation': './src/navigation',
'@/providers': './src/providers',
'@/screens': './src/screens',
'@/theme': './src/theme',
'@/appTypes': './src/types',
'@/recoil': './src/recoil',
'@/styles': './src/styles',
},
},
],
'react-native-reanimated/plugin',
],
};
};