summary refs log tree commit diff
path: root/api/.swcrc
diff options
context:
space:
mode:
Diffstat (limited to 'api/.swcrc')
-rw-r--r--api/.swcrc21
1 files changed, 13 insertions, 8 deletions
diff --git a/api/.swcrc b/api/.swcrc
index f04801b8..41d8f80f 100644
--- a/api/.swcrc
+++ b/api/.swcrc
@@ -1,9 +1,14 @@
 {
-    "jsc": {
-        "parser": {
-            "syntax": "typescript",
-            "decorators": true
-        },
-        "target": "es2021"
-    }
-}
\ No newline at end of file
+	"jsc": {
+		"parser": {
+			"syntax": "typescript",
+			"decorators": true
+		},
+		"target": "es2021",
+		"baseUrl": ".",
+		"paths": {
+			"@fosscord/api": ["src/index"],
+			"@fosscord/api/*": ["src/*"]
+		}
+	}
+}