From ed7d6dcbfbf432ae90d9e379dbf47de5587a57a2 Mon Sep 17 00:00:00 2001 From: KernelDeimos Date: Mon, 2 Sep 2024 21:30:22 -0400 Subject: [PATCH] fix: dist --- src/gui/utils.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gui/utils.js b/src/gui/utils.js index 1e11e40d..389454b6 100644 --- a/src/gui/utils.js +++ b/src/gui/utils.js @@ -129,11 +129,11 @@ async function build(options){ for(let i = 0; i < js_paths.length; i++){ main_array.push(path.join(__dirname, 'src', js_paths[i])); } - webpack({ - ...BaseConfig({ + await webpack({ + ...(await BaseConfig({ ...options, env: 'prod', - }), + })), mode: 'production', optimization: { minimize: true,