Merge pull request #78 from aleksey-rowan/patch-1

Minify production build
This commit is contained in:
Steph Ango 2024-08-21 11:22:30 -07:00 committed by GitHub
commit daa0cba23c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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