-
Notifications
You must be signed in to change notification settings - Fork 0
/
.swcrc
32 lines (32 loc) · 796 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
{
"$schema": "https://json.schemastore.org/swcrc",
"module": { "type": "nodenext", "resolveFully": true, "strict": true, "strictMode": true },
"jsc": {
"experimental": {
"keepImportAssertions": true,
"plugins": [
[
"@swc/plugin-transform-imports",
{
"^(.*?)\\.ts(x)?$": {
"skipDefaultConversion": true,
"transform": "{{matches.[1]}}.js"
}
}
]
]
},
"target": "esnext",
"parser": {
"syntax": "typescript",
"tsx": true,
"decorators": true,
"dynamicImport": true,
"importAssertions": true
},
"minify": { "compress": false, "mangle": false },
"baseUrl": ".",
"paths": { "~/*": ["./src/*"] }
},
"isModule": true
}