I should still be defining this

This commit is contained in:
Nuckyz 2024-05-31 06:16:01 -03:00
parent f4cc95da5a
commit db63fffe18
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

@ -70,13 +70,13 @@ define(Function.prototype, "m", {
enumerable: false,
set(this: WebpackRequire, bundlePath: WebpackRequire["p"]) {
define(this, "p", { value: bundlePath });
if (bundlePath !== "/assets/") return;
logger.info("Main Webpack found" + interpolateIfDefined` in ${fileName}` + ", initializing internal references to WebpackRequire");
_initWebpack(this);
clearTimeout(setterTimeout);
define(this, "p", { value: bundlePath });
}
});
// setImmediate to clear this property setter if this is not the main Webpack.