Skip to content

Commit c2d0955

Browse files
committed
Merge branch 'dev' into typescript
2 parents 4d5093d + 78fef4e commit c2d0955

File tree

1 file changed

+12
-18
lines changed

1 file changed

+12
-18
lines changed

.swcrc

Lines changed: 12 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,24 @@
1+
// https://swc.rs/playground
12
{
2-
"$schema": "https://json.schemastore.org/swcrc",
33
"jsc": {
44
"parser": {
55
"syntax": "typescript",
6-
"tsx": false,
7-
"dynamicImport": false,
8-
"privateMethod": false,
9-
"functionBind": false,
10-
"exportDefaultFrom": false,
11-
"exportNamespaceFrom": false,
12-
"decorators": false,
13-
"decoratorsBeforeExport": false,
14-
"topLevelAwait": false,
15-
"importMeta": false
6+
"tsx": false
167
},
17-
"transform": null,
188
"target": "es5",
199
"loose": false,
20-
"externalHelpers": false,
21-
// Requires v1.2.50 or upper and requires target to be es2016 or upper.
22-
"keepClassNames": false
10+
"minify": {
11+
"compress": false,
12+
"mangle": false
13+
}
2314
},
24-
// https://swc.rs/docs/configuration/supported-browsers
15+
"module": {
16+
"type": "es6"
17+
},
18+
"minify": false,
19+
"isModule": true,
2520
"env": {
2621
"mode": "usage",
2722
"coreJs": "3.25"
28-
},
29-
"minify": false
23+
}
3024
}

0 commit comments

Comments
 (0)