From 96b093fcf5b7f63e28b3105d7e560806aa1ddad6 Mon Sep 17 00:00:00 2001 From: yname Date: Sat, 17 Aug 2024 06:23:02 -0400 Subject: [PATCH] Fix hardcoded paths --- bun.lockb | Bin 3050 -> 3050 bytes src/index.ts | 5 +---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/bun.lockb b/bun.lockb index be400ab830183b45346bb7a1ed9076c175e197a3..80678e28596ef30940d57eee3d19ab92dd7b9589 100755 GIT binary patch delta 20 acmaDQ{z`nqW)617IAc8^+`Nm!fEfTz^agPN delta 20 YcmaDQ{z`nqW)5~H1~AyXi^G5!07Fg%9{>OV diff --git a/src/index.ts b/src/index.ts index d102cb8..93f05a5 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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',