Newer
Older
percord / cdn / scripts / tsconfig-paths-bootstrap.js
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/*"],
	},
});