node_modules/webpack/lib/javascript/ChunkHelpers.js
@@ -10,6 +10,7 @@ /** @typedef {import("../Chunk")} Chunk */ /** * Returns chunks. * @param {Entrypoint} entrypoint a chunk group * @param {(Chunk | null)=} excludedChunk1 current chunk which is excluded * @param {(Chunk | null)=} excludedChunk2 runtime chunk which is excluded @@ -19,7 +20,7 @@ /** @type {Set<Entrypoint>} */ const queue = new Set([entrypoint]); /** @type {Set<Entrypoint>} */ const groups = new Set([]); const groups = new Set(); for (const group of queue) { if (group !== entrypoint) { groups.add(group);