mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
fix(app): keep a global define from breaking bundled modules (#3287)
This commit is contained in:
1 parent
c5453f83e8
commit
39e48458da
1 file changed
+1
@@ -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),
|
||||||
|
|||||||
Reference in new issue
Block a user