Skip to content

Commit

Permalink
webui: Disable minification
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
M4rtinK committed Jul 26, 2023
1 parent 93b074b commit 7422173
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/webui/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const context = await esbuild.context({
".js": "jsx",
".py": "text",
},
minify: production,
minify: false,
nodePaths,
outdir,
target: ['es2020'],
Expand Down

0 comments on commit 7422173

Please sign in to comment.