mirror of
https://github.com/spacebarchat/server.git
synced 2026-07-29 00:59:24 +00:00
🎨 remove long relatives paths -> short module paths
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
const tsConfigPaths = require("tsconfig-paths");
|
||||
const path = require("path");
|
||||
|
||||
const cleanup = tsConfigPaths.register({
|
||||
baseUrl: path.join(__dirname, ".."),
|
||||
paths: {
|
||||
"@fosscord/api": ["dist/index.js"],
|
||||
"@fosscord/api/*": ["dist/*"]
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user