summary refs log tree commit diff
path: root/gateway/.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
commitc75c6f508dbbfdd9c93f0ec404d11beeb57b21ae (patch)
treef7da476d23f131fd89522142cd48ed5b26ce798f /gateway/.swcrc
parent:bug: fix swcrc config: rewrite import -> require (diff)
downloadserver-c75c6f508dbbfdd9c93f0ec404d11beeb57b21ae.tar.xz
:bug: fix types + swcrc configs
Diffstat (limited to 'gateway/.swcrc')
-rw-r--r--gateway/.swcrc7
1 files changed, 6 insertions, 1 deletions
diff --git a/gateway/.swcrc b/gateway/.swcrc

index 9a89b49d..3079a89f 100644 --- a/gateway/.swcrc +++ b/gateway/.swcrc
@@ -7,6 +7,11 @@ "syntax": "typescript", "decorators": true }, - "target": "es2021" + "target": "es2021", + "baseUrl": ".", + "paths": { + "@fosscord/gateway": ["src/index"], + "@fosscord/gateway/*": ["src/*"] + } } }