Merge pull request #78 from aleksey-rowan/patch-1
Minify production build
This commit is contained in:
commit
daa0cba23c
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue