Skip to content

Commit 99e1b5a

Browse files
filipesilvahansl
authored andcommitted
fix(@angular/cli): don't show chunk parents on stats
It wasn't shown before and is quite spammy now. Fix #8144
1 parent 9b43a9c commit 99e1b5a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/@angular/cli/utilities/stats.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,12 @@ export function statsToString(json: any, statsConfig: any) {
3535
const size = asset ? ` ${_formatSize(asset.size)}` : '';
3636
const files = chunk.files.join(', ');
3737
const names = chunk.names ? ` (${chunk.names.join(', ')})` : '';
38-
const parents = chunk.parents.map((id: string) => ` {${y(id)}}`).join('');
3938
const initial = y(chunk.entry ? '[entry]' : chunk.initial ? '[initial]' : '');
4039
const flags = ['rendered', 'recorded']
4140
.map(f => f && chunk[f] ? g(` [${f}]`) : '')
4241
.join('');
4342
44-
return `chunk {${y(chunk.id)}} ${g(files)}${names}${size}${parents} ${initial}${flags}`;
43+
return `chunk {${y(chunk.id)}} ${g(files)}${names}${size} ${initial}${flags}`;
4544
}).join('\n')}
4645
`);
4746
}

0 commit comments

Comments
 (0)