Merge branch 'modules-proxy-patches' into immediate-finds-modules-proxy
This commit is contained in:
commit
b53c78c2ba
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue