From 7422173840c60c022558ae2582334e77996f263c Mon Sep 17 00:00:00 2001 From: Martin Kolman Date: Tue, 25 Jul 2023 16:24:06 +0200 Subject: [PATCH] webui: Disable minification Disable minification when we build our JS code, so that the code we ship in our RPMs can be debugged. This should improve the debugging of runtime issues on any media built from RPM packages as well as for any cases where we apply updates images built from RPM packages. --- ui/webui/build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/webui/build.js b/ui/webui/build.js index 4930072a9b3..7d44114c08f 100755 --- a/ui/webui/build.js +++ b/ui/webui/build.js @@ -63,7 +63,7 @@ const context = await esbuild.context({ ".js": "jsx", ".py": "text", }, - minify: production, + minify: false, nodePaths, outdir, target: ['es2020'],