forgot the comment

This commit is contained in:
Nuckyz 2024-05-24 05:19:12 -03:00
parent 3296ee1c4b
commit 3793acd9bb
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

@ -92,10 +92,11 @@ const moduleFactoriesHandler: ProxyHandler<PatchedModuleFactories> = {
} }
}; };
// 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 // 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 // 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", { Object.defineProperty(Function.prototype, "m", {
configurable: true, configurable: true,