Fix hardcoded paths

This commit is contained in:
yname 2024-08-17 06:23:02 -04:00
parent be07bb510f
commit 96b093fcf5
2 changed files with 1 additions and 4 deletions

BIN
bun.lockb

Binary file not shown.

View file

@ -98,10 +98,7 @@ function mergeSourcemaps(sourcemaps: RojoSourcemap[]): RojoSourcemap {
}
async function rebuild() {
const sourcemaps = await Promise.all([
getPrefixedSourcemap('Secret'),
getPrefixedSourcemap('Core'),
])
const sourcemaps = await Promise.all(SOURCE_ROOTS.map(getPrefixedSourcemap))
const sourcemap = mergeSourcemaps(sourcemaps)
await fs.promises.writeFile(
'sourcemap.json',