diff --git a/src/renderer/modules/webpack/patch-load.ts b/src/renderer/modules/webpack/patch-load.ts index 7fbdb78fb..658eb9b82 100644 --- a/src/renderer/modules/webpack/patch-load.ts +++ b/src/renderer/modules/webpack/patch-load.ts @@ -67,6 +67,7 @@ async function patchChunk(chunk: WebpackChunk): Promise { } catch {} } }; + modules[id].toString = () => sourceStrings[id]; } }