From acf06203b6ab5129adc4bf09c7014d888f15944b Mon Sep 17 00:00:00 2001 From: botato <63275405+botatooo@users.noreply.github.com> Date: Sat, 1 Oct 2022 16:05:15 -0700 Subject: some tweaks (#22) --- src/webpack/webpack.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/webpack') diff --git a/src/webpack/webpack.ts b/src/webpack/webpack.ts index 9be576a..15104bb 100644 --- a/src/webpack/webpack.ts +++ b/src/webpack/webpack.ts @@ -135,7 +135,7 @@ export function search(...filters: Array) { const factories = wreq.m; outer: for (const id in factories) { - const factory = factories[id]; + const factory = factories[id].original ?? factories[id]; const str: string = factory.toString(); for (const filter of filters) { if (typeof filter === "string" && !str.includes(filter)) continue outer; -- cgit