-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy path.swcrc
More file actions
41 lines (41 loc) · 820 Bytes
/
Copy path.swcrc
File metadata and controls
41 lines (41 loc) · 820 Bytes
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
{
"$schema": "https://swc.rs/schema.json",
"jsc": {
"parser": {
"syntax": "typescript",
"decorators": true,
"dynamicImport": true
},
"transform": {
"legacyDecorator": true,
"decoratorMetadata": true,
"optimizer": {
"simplify": true,
"globals": {
"vars": {
"import.meta.vitest": "false"
}
},
"jsonify": {
"minCost": 2048
}
}
},
"target": "es2022",
"keepClassNames": true,
"loose": false,
"externalHelpers": true,
"preserveAllComments": false,
"experimental": {
"keepImportAttributes": true
}
},
"module": {
"type": "es6",
"strict": true,
"strictMode": true,
"lazy": false,
"noInterop": false
},
"sourceMaps": true
}