From dd51a3662b9bacd7c19f4be889c410003b3cdaf4 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Sun, 10 Oct 2021 11:02:25 +0200 Subject: :sparkles: changed and fixed compiler --- bundle/src/start.ts | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'bundle/src/start.ts') 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"; -- cgit 1.5.1