diff options
| -rwxr-xr-x | packages/opencode/script/build.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/opencode/script/build.ts b/packages/opencode/script/build.ts index 35812f953..2f2edb4ff 100755 --- a/packages/opencode/script/build.ts +++ b/packages/opencode/script/build.ts @@ -61,6 +61,7 @@ const createEmbeddedWebUIBundle = async () => { await $`bun run --cwd ${appDir} build` const files = (await Array.fromAsync(new Bun.Glob("**/*").scan({ cwd: dist }))) .map((file) => file.replaceAll("\\", "/")) + .filter((file) => !file.endsWith(".map")) .sort() const imports = files.map((file, i) => { const spec = path.relative(dir, path.join(dist, file)).replaceAll("\\", "/") |
