We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b95b527 commit f8989e6Copy full SHA for f8989e6
lib/analyze.js
@@ -326,7 +326,9 @@ module.exports = function analyze(
326
updateProgressBar /*: UpdateProgressBar */ = () => {}
327
) {
328
const stats =
329
- rawStats.children && rawStats.children.length
+ rawStats.children &&
330
+ rawStats.children.length &&
331
+ (!rawStats.chunks || !rawStats.chunks.length)
332
? joinStats(rawStats.children)
333
: rawStats;
334
const chunks = getChunksData(stats);
0 commit comments