updated npm modules
This commit is contained in:
12
node_modules/webpack/lib/Chunk.js
generated
vendored
12
node_modules/webpack/lib/Chunk.js
generated
vendored
@@ -517,7 +517,7 @@ class Chunk {
|
||||
* @param {Object} options the size display options
|
||||
* @returns {number} the chunk size
|
||||
*/
|
||||
size(options) {
|
||||
size(options = {}) {
|
||||
return this.addMultiplierAndOverhead(this.modulesSize(), options);
|
||||
}
|
||||
|
||||
@@ -688,7 +688,15 @@ class Chunk {
|
||||
};
|
||||
|
||||
if (includeDirectChildren) {
|
||||
addChildIdsByOrdersToMap(this);
|
||||
const chunks = new Set();
|
||||
for (const chunkGroup of this.groupsIterable) {
|
||||
for (const chunk of chunkGroup.chunks) {
|
||||
chunks.add(chunk);
|
||||
}
|
||||
}
|
||||
for (const chunk of chunks) {
|
||||
addChildIdsByOrdersToMap(chunk);
|
||||
}
|
||||
}
|
||||
|
||||
for (const chunk of this.getAllAsyncChunks()) {
|
||||
|
||||
Reference in New Issue
Block a user