chore: minify code when in production

This commit is contained in:
kotaindah55 2025-02-03 20:24:15 +02:00
parent 136c4ceb62
commit 82ee38ee6f

View file

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