Clarify about sentry webpack

This commit is contained in:
Nuckyz 2024-05-19 23:22:48 -03:00
parent ab24ce08e3
commit b938bdf138
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

@ -99,6 +99,7 @@ Object.defineProperty(Function.prototype, "O", {
// wreq.m is the webpack object containing module factories. // wreq.m is the webpack object containing module factories.
// This is pre-populated with modules, and is also populated via webpackGlobal.push // 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 // We replace its prototype with our proxy, which is responsible for returning patched module factories containing our patches
Object.defineProperty(Function.prototype, "m", { Object.defineProperty(Function.prototype, "m", {
configurable: true, configurable: true,