-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.swcrc
36 lines (36 loc) · 834 Bytes
/
.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
{
"$schema": "https://json.schemastore.org/swcrc",
"jsc": {
"parser": {
"syntax": "typescript",
"dynamicImport": true,
"decorators": true
},
"target": "es2017",
"externalHelpers": false,
"loose": false,
"baseUrl": "src",
"transform": {
"legacyDecorator": true,
"decoratorMetadata": true
},
"paths": {
"@/*": ["*"],
"@lib/*": ["lib/*"],
"@config/*": ["config"],
"@utils/*": ["utils/*"],
"@types/*": ["types/*"],
"@routes/*": ["routes/*"],
"@models/*": ["models/*"],
"@constants/*": ["constants/*"],
"@interfaces/*": ["interfaces/*"],
"@exceptions/*": ["exceptions/*"],
"@middlewares/*": ["middlewares/*"]
}
},
"sourceMaps": true,
"module": {
"type": "commonjs"
},
"minify": true
}