summary refs log tree commit diff
path: root/util/.swcrc
diff options
context:
space:
mode:
Diffstat (limited to 'util/.swcrc')
-rw-r--r--util/.swcrc8
1 files changed, 7 insertions, 1 deletions
diff --git a/util/.swcrc b/util/.swcrc
index 9a89b49d..a723d37f 100644
--- a/util/.swcrc
+++ b/util/.swcrc
@@ -7,6 +7,12 @@
 			"syntax": "typescript",
 			"decorators": true
 		},
-		"target": "es2021"
+		"target": "es2021",
+		"transform": {
+			"legacyDecorator": true,
+			"decoratorMetadata": true
+		},
+		"keepClassNames": true,
+		"loose": true
 	}
 }