summary refs log tree commit diff
path: root/webrtc/.swcrc
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 /webrtc/.swcrc
parentCompiler test (diff)
downloadserver-b5905c1bba38cf95b89d716ebea59081209e7df3.tar.xz
:bug: fix swcrc config: rewrite import -> require
Diffstat (limited to 'webrtc/.swcrc')
-rw-r--r--webrtc/.swcrc19
1 files changed, 11 insertions, 8 deletions
diff --git a/webrtc/.swcrc b/webrtc/.swcrc
index f04801b8..9a89b49d 100644
--- a/webrtc/.swcrc
+++ b/webrtc/.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"
+	}
+}