-
Notifications
You must be signed in to change notification settings - Fork 0
/
babel.config.js
43 lines (43 loc) · 1.45 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
module.exports = {
presets: ['module:metro-react-native-babel-preset'],
plugins: [
[
'module-resolver',
{
root: ['./src'],
extensions: ['.ios.js', '.android.js', '.js', '.ts', '.tsx', '.json'],
alias: {
tests: ['./tests/'],
'@assets': ['./src/assets'],
'@assets/': ['./src/assets/'],
'@components': ['./src/components'],
'@components/': ['./src/components/'],
'@configs': ['./src/configs'],
'@configs/': ['./src/configs/'],
'@containers': ['./src/containers'],
'@containers/': ['./src/containers/'],
'@database': ['./src/database'],
'@database/': ['./src/database/'],
'@hocs': ['./src/hocs'],
'@hocs/': ['./src/hocs/'],
'@hooks': ['./src/hooks'],
'@hooks/': ['./src/hooks/'],
'@i18n': ['./src/i18n'],
'@i18n/': ['./src/i18n/'],
'@navigator': ['./src/navigator'],
'@navigator/': ['./src/navigator/'],
'@services': ['./src/services'],
'@services/': ['./src/services/'],
'@uikit': ['./src/components/uikit'],
'@uikit/': ['./src/components/uikit/'],
'@utils': ['./src/utils'],
'@utils/': ['./src/utils/'],
'@values': ['./src/values'],
'@values/': ['./src/values/'],
'@store': ['./src/store'],
'@store/': ['./src/store/'],
},
},
],
],
};