fix: enable minification in build process
This commit is contained in:
parent
62cce216df
commit
72c941160a
1 changed files with 1 additions and 1 deletions
|
@ -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/",
|
||||||
|
|
Loading…
Add table
Reference in a new issue