one more name cuz why not
This commit is contained in:
parent
5fbabb0b70
commit
8dde496757
|
@ -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");
|
||||||
|
|
|
@ -77,6 +77,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