forked from sonalmaniya/RNProBoilerCore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbabel.config.js
28 lines (28 loc) · 835 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
module.exports = {
presets: ['module:metro-react-native-babel-preset'],
plugins: [
[
'module-resolver',
{
root: ['.'],
extensions: ['.ios.js', '.android.js', '.js', '.ts', '.tsx', '.json'],
alias: {
'*': '.',
'@root': './',
'@src': './src',
'@src/assets': './src/assets',
'@src/config': './src/config',
'@src/constants': './src/constants',
'@src/components': './src/components',
'@src/core-ui': './src/core-ui',
'@src/fixtures': './src/fixtures',
'@src/helpers': './src/helpers',
'@src/hooks': './src/hooks',
'@src/modules': './src/modules',
'@src/navigation': './src/navigation',
'@src/services': './src/services',
},
},
],
],
};