summary refs log tree commit diff
path: root/cdn/scripts/tsconfig-paths-bootstrap.js
blob: 50602b025e9db75983d7e66028e18fba8d587f3d (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/cdn": ["dist/index.js"],
		"@fosscord/cdn/*": ["dist/*"],
	},
});