build: minify prod build

closes #70
This commit is contained in:
Aleksey Rowan
2023-11-15 14:10:43 -05:00
committed by GitHub
parent e60294b950
commit 7330e7499a

View File

@@ -38,6 +38,7 @@ const context = await esbuild.context({
sourcemap: prod ? false : "inline",
treeShaking: true,
outfile: "main.js",
minify: prod,
});
if (prod) {