summary refs log tree commit diff
path: root/util
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-07 09:59:04 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-07 09:59:04 +0200
commitb5905c1bba38cf95b89d716ebea59081209e7df3 (patch)
tree940f5d8f092c0600efcd4989ee99630bca4e680f /util
parentCompiler test (diff)
downloadserver-b5905c1bba38cf95b89d716ebea59081209e7df3.tar.xz
:bug: fix swcrc config: rewrite import -> require
Diffstat (limited to 'util')
-rw-r--r--util/.swcrc19
1 files changed, 11 insertions, 8 deletions
diff --git a/util/.swcrc b/util/.swcrc
index f04801b8..9a89b49d 100644
--- a/util/.swcrc
+++ b/util/.swcrc
@@ -1,9 +1,12 @@
 {
-    "jsc": {
-        "parser": {
-            "syntax": "typescript",
-            "decorators": true
-        },
-        "target": "es2021"
-    }
-}
\ No newline at end of file
+	"module": {
+		"type": "commonjs"
+	},
+	"jsc": {
+		"parser": {
+			"syntax": "typescript",
+			"decorators": true
+		},
+		"target": "es2021"
+	}
+}