mirror of https://github.com/webpack/webpack.git
Merge pull request #13928 from webpack/perf/limit-parallel-chunk-generation
limit the number of parallel generated chunks
This commit is contained in:
commit
6d24d111f8
|
@ -3784,8 +3784,9 @@ This prevents using hashes of each other and should be avoided.`);
|
|||
/** @type {Map<string, {hash: string, source: Source, chunk: Chunk}>} */
|
||||
const alreadyWrittenFiles = new Map();
|
||||
|
||||
asyncLib.forEach(
|
||||
asyncLib.forEachLimit(
|
||||
this.chunks,
|
||||
15,
|
||||
(chunk, callback) => {
|
||||
/** @type {RenderManifestEntry[]} */
|
||||
let manifest;
|
||||
|
|
Loading…
Reference in New Issue