Skip to content

Commit b586bd9

Browse files
committed
remove hash workaround since bun fixed it
1 parent 967b419 commit b586bd9

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

build.ts

+1-4
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,7 @@ export async function build({
9595
for (const output of result.outputs) {
9696
if (output.kind === "entry-point" && output.hash) {
9797
const path = relative(outdir, output.path);
98-
// Bun has bug that generated hash cannot reflect the changes in dynamic import
99-
hashed[`/${path}`] = Bun.hash
100-
.murmur64v2(await output.arrayBuffer())
101-
.toString(16);
98+
hashed[`/${path}`] = output.hash;
10299
}
103100
}
104101
Bun.write(

0 commit comments

Comments
 (0)