Merge branch 'modules-proxy-patches' into immediate-finds-modules-proxy
This commit is contained in:
commit
e990795783
|
@ -18,7 +18,7 @@ type PatchedModuleFactory = ModuleFactory & {
|
||||||
};
|
};
|
||||||
|
|
||||||
type PatchedModuleFactories = Record<PropertyKey, PatchedModuleFactory> & {
|
type PatchedModuleFactories = Record<PropertyKey, PatchedModuleFactory> & {
|
||||||
[Symbol.toStringTag]?: "ModuleFactories";
|
[Symbol.toStringTag]?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
const logger = new Logger("WebpackInterceptor", "#8caaee");
|
const logger = new Logger("WebpackInterceptor", "#8caaee");
|
||||||
|
|
|
@ -87,6 +87,9 @@ export const factoryListeners = new Set<(factory: ModuleFactory) => void>();
|
||||||
export function _initWebpack(webpackRequire: WebpackRequire) {
|
export function _initWebpack(webpackRequire: WebpackRequire) {
|
||||||
wreq = webpackRequire;
|
wreq = webpackRequire;
|
||||||
cache = webpackRequire.c;
|
cache = webpackRequire.c;
|
||||||
|
|
||||||
|
// @ts-ignore
|
||||||
|
webpackRequire.c[Symbol.toStringTag] = "ModuleCache";
|
||||||
}
|
}
|
||||||
|
|
||||||
let devToolsOpen = false;
|
let devToolsOpen = false;
|
||||||
|
|
Loading…
Reference in a new issue