summary refs log tree commit diff
path: root/bundle/src/start.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-10 11:02:25 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-10 11:02:25 +0200
commitdd51a3662b9bacd7c19f4be889c410003b3cdaf4 (patch)
tree1e487f7c8fb0f55c4c6ae7a57ad15b3da3cd1675 /bundle/src/start.ts
parent:sparkles: random guest username generation added (diff)
downloadserver-dd51a3662b9bacd7c19f4be889c410003b3cdaf4.tar.xz
:sparkles: changed and fixed compiler
Diffstat (limited to 'bundle/src/start.ts')
-rw-r--r--bundle/src/start.ts16
1 files changed, 0 insertions, 16 deletions
diff --git a/bundle/src/start.ts b/bundle/src/start.ts

index fbe5fa4c..8e7c3129 100644 --- a/bundle/src/start.ts +++ b/bundle/src/start.ts
@@ -1,20 +1,4 @@ // process.env.MONGOMS_DEBUG = "true"; -const tsConfigPaths = require("tsconfig-paths"); -const path = require("path"); -const baseUrl = path.join(__dirname, ".."); -const cleanup = tsConfigPaths.register({ - baseUrl, - paths: { - "@fosscord/api": ["../api/dist/index.js"], - "@fosscord/api/*": ["../api/dist/*"], - "@fosscord/gateway": ["../gateway/dist/index.js"], - "@fosscord/gateway/*": ["../gateway/dist/*"], - "@fosscord/cdn": ["../cdn/dist/index.js"], - "@fosscord/cdn/*": ["../cdn/dist/*"], - }, -}); -console.log(require("@fosscord/gateway")); - import "reflect-metadata"; import cluster from "cluster"; import os from "os";