From 3793acd9bb7f857b17cca63eb5aedbefa889dd65 Mon Sep 17 00:00:00 2001 From: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Date: Fri, 24 May 2024 05:19:12 -0300 Subject: [PATCH] forgot the comment --- src/webpack/patchWebpack.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/webpack/patchWebpack.ts b/src/webpack/patchWebpack.ts index 2e53a544d..bd3c45b76 100644 --- a/src/webpack/patchWebpack.ts +++ b/src/webpack/patchWebpack.ts @@ -92,10 +92,11 @@ const moduleFactoriesHandler: ProxyHandler = { } }; -// wreq.m is the webpack object containing module factories. +// wreq.m is the Webpack object containing module factories. // This is pre-populated with module factories, and is also populated via webpackGlobal.push -// The sentry module also has their own webpack with a pre-populated module factories object, so this also targets that +// The sentry module also has their own Webpack with a pre-populated module factories object, so this also targets that // We wrap it with our proxy, which is responsible for patching the module factories, or setting up getters for them +// If this is the main Webpack, we also set up the internal references to WebpackRequire Object.defineProperty(Function.prototype, "m", { configurable: true,