Merge branch 'modules-proxy-patches' into immediate-finds-modules-proxy

This commit is contained in:
Nuckyz 2024-05-31 06:20:17 -03:00
commit a19fb71c70
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

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