aboutsummaryrefslogtreecommitdiff
path: root/src/webpack/patchWebpack.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/webpack/patchWebpack.ts')
-rw-r--r--src/webpack/patchWebpack.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/webpack/patchWebpack.ts b/src/webpack/patchWebpack.ts
index dd7b537..7f5dbf6 100644
--- a/src/webpack/patchWebpack.ts
+++ b/src/webpack/patchWebpack.ts
@@ -50,7 +50,7 @@ function patchPush() {
if (mod === originalMod) throw err;
logger.error("Error in patched chunk", err);
- return originalMod(module, exports, require);
+ return void originalMod(module, exports, require);
}
// There are (at the time of writing) 11 modules exporting the window
@@ -145,4 +145,3 @@ function patchPush() {
configurable: true
});
}
-