summary refs log tree commit diff
path: root/cdn/.swcrc
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-07 18:20:03 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-07 18:20:03 +0200
commit650ba3d0ae989b24bfff6de89b57ed74e843b39a (patch)
tree67aeb3f2ec5738b10a31eee32000640b6fb25f69 /cdn/.swcrc
parent:bug: fix swcrc config: rewrite import -> require (diff)
downloadserver-650ba3d0ae989b24bfff6de89b57ed74e843b39a.tar.xz
:bug: fix types + swcrc configs
Diffstat (limited to 'cdn/.swcrc')
-rw-r--r--cdn/.swcrc7
1 files changed, 6 insertions, 1 deletions
diff --git a/cdn/.swcrc b/cdn/.swcrc
index 9a89b49d..ab531194 100644
--- a/cdn/.swcrc
+++ b/cdn/.swcrc
@@ -7,6 +7,11 @@
 			"syntax": "typescript",
 			"decorators": true
 		},
-		"target": "es2021"
+		"target": "es2021",
+		"baseUrl": ".",
+		"paths": {
+			"@fosscord/cdn/": ["src/index"],
+			"@fosscord/cdn/*": ["src/*"]
+		}
 	}
 }