diff options
Diffstat (limited to 'src/webpack/webpack.ts')
-rw-r--r-- | src/webpack/webpack.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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<string | RegExp>) { 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; |