summary refs log tree commit diff
path: root/webrtc
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
commit95bb148cfa7b12588d4cd45754e14e2039bdd9a7 (patch)
treea0d97128a8cfcce095bc2d30cbb1b28000f11451 /webrtc
parentCompiler test (diff)
downloadserver-95bb148cfa7b12588d4cd45754e14e2039bdd9a7.tar.xz
:bug: fix swcrc config: rewrite import -> require
Diffstat (limited to 'webrtc')
-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"
+	}
+}