summary refs log tree commit diff
path: root/webrtc/.swcrc
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-08 10:50:32 +0200
committerGitHub <noreply@github.com>2021-10-08 10:50:32 +0200
commite26138030420c32c3c1ce9a261b5148fcbb711dd (patch)
treea570c80822ad1c34ce138d45cfcf4784d48c9b57 /webrtc/.swcrc
parent:arrow_up: update packages (diff)
parent:sparkles: bundle build script (diff)
downloadserver-e26138030420c32c3c1ce9a261b5148fcbb711dd.tar.xz
Merge pull request #418 from TheArcaneBrony/compiler-change
Switch compiler to swc
Diffstat (limited to 'webrtc/.swcrc')
-rw-r--r--webrtc/.swcrc12
1 files changed, 12 insertions, 0 deletions
diff --git a/webrtc/.swcrc b/webrtc/.swcrc
new file mode 100644
index 00000000..9a89b49d
--- /dev/null
+++ b/webrtc/.swcrc
@@ -0,0 +1,12 @@
+{
+	"module": {
+		"type": "commonjs"
+	},
+	"jsc": {
+		"parser": {
+			"syntax": "typescript",
+			"decorators": true
+		},
+		"target": "es2021"
+	}
+}