fix reporter false positive

This commit is contained in:
Vendicated 2025-02-17 01:45:23 +01:00
parent 9e820214c5
commit 6bdd60fe8a
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18

View file

@ -547,7 +547,7 @@ export const mapMangledModule = traceFunction("mapMangledModule", function mapMa
* @see {@link mapMangledModule}
*/
export function mapMangledModuleLazy<S extends string>(code: string | RegExp | CodeFilter, mappers: Record<S, FilterFn>, includeBlacklistedExports = false): Record<S, any> {
if (IS_REPORTER) lazyWebpackSearchHistory.push(["mapMangledModule", [code, mappers]]);
if (IS_REPORTER) lazyWebpackSearchHistory.push(["mapMangledModule", [code, mappers, includeBlacklistedExports]]);
return proxyLazy(() => mapMangledModule(code, mappers, includeBlacklistedExports));
}