Fix bug with getModules()

This commit is contained in:
Strencher 2023-01-08 02:17:21 +01:00
parent 9d9826434c
commit 983a55f8d3
1 changed files with 1 additions and 1 deletions

View File

@ -287,7 +287,7 @@ const WebpackModules = new class Webpack extends EventEmitter {
if (!(all ? foundModule.length : foundModule)) continue;
if (!all) return process(foundModule, id);
result.push(foundModule);
result.push(...foundModule);
}
}