-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbabel.config.js
29 lines (29 loc) · 882 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
module.exports = {
presets: ['module:@react-native/babel-preset'],
plugins: [
'react-native-reanimated/plugin',
[
'module-resolver',
{
root: ['./src'],
alias: {
// Config
'@adapters': './src/config/adapters',
'@helpers': './src/config/helpers',
// Core
'@entities': './src/core/entities',
'@use-cases': './src/core/use-cases',
// Infrastructure
'@interfaces': './src/infrastructure/interfaces',
'@mappers': './src/infrastructure/mappers',
// Presentation
'@components': './src/presentation/components',
'@hooks': './src/presentation/hooks',
'@navigation': './src/presentation/navigation',
'@screens': './src/presentation/screens',
},
extensions: ['.ts', '.tsx'],
}
]
],
};