Skip to content

Commit b46342e

Browse files
committed
update (break?) .swcrc file
1 parent 692ef3e commit b46342e

File tree

1 file changed

+22
-21
lines changed

1 file changed

+22
-21
lines changed

.swcrc

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
1-
{
2-
"$schema": "http://json.schemastore.org/swcrc",
3-
"exclude": "\\.js$",
4-
"jsc": {
5-
"parser": {
6-
"syntax": "typescript",
7-
"tsx": false,
8-
"decorators": true
1+
[
2+
{
3+
"test": "\\.ts$",
4+
"jsc": {
5+
"parser": {
6+
"syntax": "typescript",
7+
"tsx": false,
8+
"decorators": true
9+
},
10+
"target": "es2020",
11+
"loose": false,
12+
"minify": {
13+
"compress": false,
14+
"mangle": false
15+
}
916
},
10-
"target": "es2020",
11-
"loose": false,
12-
"minify": {
13-
"compress": false,
14-
"mangle": false
15-
}
16-
},
17-
"module": {
18-
"type": "amd",
19-
"noInterop": true
20-
},
21-
"minify": false
22-
}
17+
"module": {
18+
"type": "amd",
19+
"noInterop": true
20+
},
21+
"minify": false
22+
}
23+
]

0 commit comments

Comments
 (0)