summary refs log tree commit diff
path: root/gateway/scripts/tsconfig-paths-bootstrap.js
blob: 7308523b21bd5e720416e90c16d5e8ff0cda29a2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
const tsConfigPaths = require("tsconfig-paths");
const path = require("path");

const cleanup = tsConfigPaths.register({
	baseUrl: path.join(__dirname, ".."),
	paths: {
		"@fosscord/gateway": ["dist/index.js"],
		"@fosscord/gateway/*": ["dist/*"],
	},
});