mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-13 14:12:41 +01:00
15 lines
453 B
JavaScript
15 lines
453 B
JavaScript
|
const tsConfigPaths = require("tsconfig-paths");
|
||
|
const path = require("path");
|
||
|
|
||
|
const cleanup = tsConfigPaths.register({
|
||
|
baseUrl: path.join(__dirname, "node_modules", "@fosscord"),
|
||
|
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/*"],
|
||
|
},
|
||
|
});
|