I should still be defining this
This commit is contained in:
parent
f4cc95da5a
commit
db63fffe18
|
@ -70,13 +70,13 @@ define(Function.prototype, "m", {
|
||||||
enumerable: false,
|
enumerable: false,
|
||||||
|
|
||||||
set(this: WebpackRequire, bundlePath: WebpackRequire["p"]) {
|
set(this: WebpackRequire, bundlePath: WebpackRequire["p"]) {
|
||||||
|
define(this, "p", { value: bundlePath });
|
||||||
|
|
||||||
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);
|
clearTimeout(setterTimeout);
|
||||||
|
|
||||||
define(this, "p", { value: bundlePath });
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
// 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.
|
||||||
|
|
Loading…
Reference in a new issue