From 39e48458da137b8b32dfbe72601fda92bca2d7eb Mon Sep 17 00:00:00 2001 From: Hampus Date: Thu, 8 Oct 2026 17:32:40 +0200 Subject: [PATCH] fix(app): keep a global define from breaking bundled modules (#3287) --- fluxer_app/rspack.config.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/fluxer_app/rspack.config.mjs b/fluxer_app/rspack.config.mjs index 25c760d2a..de0d5e323 100644 --- a/fluxer_app/rspack.config.mjs +++ b/fluxer_app/rspack.config.mjs @@ -671,6 +671,7 @@ export default () => { wasmCratesDir: path.join(ROOT_DIR, 'rust'), }), new DefinePlugin({ + define: 'undefined', __FLUXER_PRECACHE_MANIFEST__: JSON.stringify([]), __FLUXER_SW_VERSION__: JSON.stringify(publicValues.PUBLIC_BUILD_VERSION || 'dev'), 'process.env.NODE_ENV': JSON.stringify(mode),