From 70cbe07040ebaefedcf8d0369951253c3d3cc990 Mon Sep 17 00:00:00 2001 From: Mario Zechner Date: Thu, 8 Jun 2023 17:09:59 +0200 Subject: [PATCH] Enable JS minification in prod. --- bundle.js | 1 + 1 file changed, 1 insertion(+) diff --git a/bundle.js b/bundle.js index dba891e..9f3cfa0 100755 --- a/bundle.js +++ b/bundle.js @@ -109,6 +109,7 @@ async function bundleJS(inputDir, outputDir, watch) { sourcemap: true, outdir: outputDir, logLevel: "debug", + minify: !watch, }); if (!watch) { await buildContext.rebuild();