check for bundlePath value again

This commit is contained in:
Nuckyz 2024-06-22 02:57:36 -03:00
parent c400db41c3
commit c4e7233604
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

@ -70,6 +70,8 @@ define(Function.prototype, "O", {
define(this, "p", { value: bundlePath }); define(this, "p", { value: bundlePath });
clearTimeout(setterTimeout); clearTimeout(setterTimeout);
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);
} }