Skip to content

Commit

Permalink
fix(demo): disable minify due to bug in bun build (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
incognitojam authored Jan 25, 2025
1 parent 910f32e commit 8a80478
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion demo/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ const build = await Bun.build({
entrypoints: ["./src/index.html"],
outdir: "./dist",
sourcemap: "linked",
minify: true,
// https://github.com/oven-sh/bun/issues/16335
// minify: true,
});

const outputs = build.outputs.map(({ path, kind, size }) => ({ path, kind, "size (KiB)": (size / 1024).toFixed(1) }));
Expand Down

0 comments on commit 8a80478

Please sign in to comment.