fix(app): keep a global define from breaking bundled modules (#3287)

This commit is contained in:
Hampus authored and GitHub committed 2026-10-08 17:32:40 +02:00
1 parent c5453f83e8
commit 39e48458da
1 file changed
+1
+1
View File
@@ -671,6 +671,7 @@ export default () => {
wasmCratesDir: path.join(ROOT_DIR, 'rust'), wasmCratesDir: path.join(ROOT_DIR, 'rust'),
}), }),
new DefinePlugin({ new DefinePlugin({
define: 'undefined',
__FLUXER_PRECACHE_MANIFEST__: JSON.stringify([]), __FLUXER_PRECACHE_MANIFEST__: JSON.stringify([]),
__FLUXER_SW_VERSION__: JSON.stringify(publicValues.PUBLIC_BUILD_VERSION || 'dev'), __FLUXER_SW_VERSION__: JSON.stringify(publicValues.PUBLIC_BUILD_VERSION || 'dev'),
'process.env.NODE_ENV': JSON.stringify(mode), 'process.env.NODE_ENV': JSON.stringify(mode),