-
Notifications
You must be signed in to change notification settings - Fork 0
/
.swcrc
56 lines (44 loc) · 1.33 KB
/
.swcrc
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
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"jsc": {
"parser": {
"syntax": "typescript",
"tsx": false,
"decorators": true,
"dynamicImport": true
},
"target": "es2021",
"baseUrl": "./",
"paths": {
"@decorators": ["src/utils/decorators"],
"@decorators/*": ["src/plugins/*/utils/decorators"],
"@errors": ["src/utils/errors"],
"@errors/*": ["src/plugins/*/utils/errors"],
"@entities": ["src/entities"],
"@entities/*": ["src/plugins/*/entities"],
"@guards": ["src/guards"],
"@guards/*": ["src/plugins/*/guards"],
"@services": ["src/services"],
"@services/*": ["src/plugins/*/services"],
"@i18n": ["src/i18n"],
"@i18n/*": ["src/plugins/*/i18n"],
"@configs": ["src/configs"],
"@configs/*": ["src/plugins/*/configs"],
"@utils/classes": ["src/utils/classes"],
"@utils/classes/*": ["src/plugins/*/utils/classes"],
"@utils/functions": ["src/utils/functions"],
"@utils/functions/*": ["src/plugins/*/utils/functions"],
"@api/controllers": ["src/api/controllers"],
"@api/controllers/*": ["src/plugins/*/api/controllers"],
"@api/middlewares": ["src/api/middlewares"],
"@api/middlewares/*": ["src/plugins/*/api/middlewares"],
"@api/server": ["src/api/server.ts"]
},
"transform": {
"decoratorMetadata": true
}
},
"exclude": ["node_modules", ".git"],
"module": {
"type": "commonjs"
}
}