Added minify
This commit is contained in:
@@ -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]",
|
||||||
|
|||||||
Reference in New Issue
Block a user