From 94b258af4d65976b85edf887f0cc92b242ee87cc Mon Sep 17 00:00:00 2001 From: Vendicated Date: Fri, 16 May 2025 03:55:49 +0200 Subject: [PATCH] fix canary --- src/webpack/patchWebpack.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/webpack/patchWebpack.ts b/src/webpack/patchWebpack.ts index 72effca5..baba751f 100644 --- a/src/webpack/patchWebpack.ts +++ b/src/webpack/patchWebpack.ts @@ -105,6 +105,9 @@ define(Function.prototype, "m", { } const fileName = stack.match(/\/assets\/(.+?\.js)/)?.[1]; + if (fileName?.includes("libdiscore")) { + return; + } // Define a setter for the bundlePath property of WebpackRequire. Only Webpack instances which include chunk loading functionality, // like the main Discord Webpack, have this property.