summary refs log tree commit diff
path: root/gateway/tsconfig.json
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-12 21:09:29 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-12 21:09:29 +0200
commitd50073fc41fc7d69d3dab9a2858158320983329b (patch)
treec4507ebe83019292807f5a4cf10fc8a522334e2a /gateway/tsconfig.json
parentMerge pull request #348 from AlTech98/fix-cdn-upload (diff)
downloadserver-d50073fc41fc7d69d3dab9a2858158320983329b.tar.xz
:art: remove long relatives paths -> short module paths
Diffstat (limited to 'gateway/tsconfig.json')
-rw-r--r--gateway/tsconfig.json7
1 files changed, 6 insertions, 1 deletions
diff --git a/gateway/tsconfig.json b/gateway/tsconfig.json
index e5bf92c6..2530aa41 100644
--- a/gateway/tsconfig.json
+++ b/gateway/tsconfig.json
@@ -67,6 +67,11 @@
 		/* Advanced Options */
 		"skipLibCheck": true /* Skip type checking of declaration files. */,
 		"forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */,
-		"resolveJsonModule": true
+		"resolveJsonModule": true,
+		"baseUrl": ".",
+		"paths": {
+			"@fosscord/gateway/*": ["src/*"],
+			"@fosscord/util/*": ["../util/src/*"]
+		}
 	}
 }