Added minify

This commit is contained in:
2025-08-11 20:28:16 +02:00
parent d74357a67f
commit ba81ce67c7

View File

@@ -31,6 +31,8 @@ await Bun.build({
outdir: "dist", outdir: "dist",
target: "bun", target: "bun",
splitting: true, splitting: true,
minify: true,
sourcemap: process.env.NODE_ENV === "dev" ? "external" : undefined,
naming: { naming: {
entry: "[dir]/[name].[ext]", entry: "[dir]/[name].[ext]",
chunk: "chunk/[name]-[hash].[ext]", chunk: "chunk/[name]-[hash].[ext]",