diff --git a/src/webpack/patchWebpack.ts b/src/webpack/patchWebpack.ts index 64b6e331a..979bf0577 100644 --- a/src/webpack/patchWebpack.ts +++ b/src/webpack/patchWebpack.ts @@ -99,6 +99,7 @@ Object.defineProperty(Function.prototype, "O", { // wreq.m is the webpack object containing module factories. // This is pre-populated with modules, and is also populated via webpackGlobal.push +// The sentry module also has their own webpack with a pre-populated modules object, so this also targets that // We replace its prototype with our proxy, which is responsible for returning patched module factories containing our patches Object.defineProperty(Function.prototype, "m", { configurable: true,