-
Notifications
You must be signed in to change notification settings - Fork 1
/
.swcrc
44 lines (44 loc) · 1.03 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
{
"jsc": {
"parser": {
"syntax": "typescript",
"tsx": false,
"dynamicImport": true,
"decorators": true
},
"transform": {
"legacyDecorator": true,
"decoratorMetadata": true
},
"target": "es2017",
"externalHelpers": false,
"keepClassNames": true,
"loose": false,
"minify": {
"compress": false,
"mangle": false
},
"baseUrl": "src",
"paths": {
"@/*": ["*"],
"@abstracts/*": ["abstracts/*"],
"@config/*": ["config/*"],
"@databases": ["databases"],
"@decorators": ["decorators"],
"@enums/*": ["enums/*"],
"@exceptions/*": ["exceptions/*"],
"@interfaces/*": ["interfaces/*"],
"@locales/*": ["locales/*"],
"@middlewares/*": ["middlewares/*"],
"@models/*": ["models/*"],
"@routes/*": ["routes/*"],
"@services/*": ["services/*"],
"@transports/*": ["transports/*"],
"@types/*": ["types/*"],
"@utils/*": ["utils/*"]
}
},
"module": {
"type": "commonjs"
}
}