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() {
|
async function rebuild() {
|
||||||
const sourcemaps = await Promise.all([
|
const sourcemaps = await Promise.all(SOURCE_ROOTS.map(getPrefixedSourcemap))
|
||||||
getPrefixedSourcemap('Secret'),
|
|
||||||
getPrefixedSourcemap('Core'),
|
|
||||||
])
|
|
||||||
const sourcemap = mergeSourcemaps(sourcemaps)
|
const sourcemap = mergeSourcemaps(sourcemaps)
|
||||||
await fs.promises.writeFile(
|
await fs.promises.writeFile(
|
||||||
'sourcemap.json',
|
'sourcemap.json',
|
||||||
|
|
Loading…
Reference in a new issue