Fix hardcoded paths
This commit is contained in:
parent
be07bb510f
commit
96b093fcf5
2 changed files with 1 additions and 4 deletions
BIN
bun.lockb
BIN
bun.lockb
Binary file not shown.
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue