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.