fix: enable minification in build process

This commit is contained in:
Seth 2025-05-18 19:35:13 -04:00
parent 62cce216df
commit 72c941160a

View file

@ -7,7 +7,7 @@ const build = async () => {
return await Bun.build({ return await Bun.build({
entrypoints: ["./src/front/index.html"], entrypoints: ["./src/front/index.html"],
outdir: "./dist", outdir: "./dist",
minify: !development, minify: true,
sourcemap: development ? "inline" : "none", sourcemap: development ? "inline" : "none",
splitting: true, splitting: true,
publicPath: "/assets/", publicPath: "/assets/",