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> & {
|
||||
[Symbol.toStringTag]?: "ModuleFactories";
|
||||
[Symbol.toStringTag]?: string;
|
||||
};
|
||||
|
||||
const logger = new Logger("WebpackInterceptor", "#8caaee");
|
||||
|
|
|
@ -87,6 +87,9 @@ export const factoryListeners = new Set<(factory: ModuleFactory) => void>();
|
|||
export function _initWebpack(webpackRequire: WebpackRequire) {
|
||||
wreq = webpackRequire;
|
||||
cache = webpackRequire.c;
|
||||
|
||||
// @ts-ignore
|
||||
webpackRequire.c[Symbol.toStringTag] = "ModuleCache";
|
||||
}
|
||||
|
||||
let devToolsOpen = false;
|
||||
|
|
Loading…
Reference in a new issue