robertknight / webpack-bundle-size-analyzer

A tool for finding out what contributes to the size of Webpack bundles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Should <self> be excluded if remainder the same as totalSize?

michaek opened this issue · comments

For report sections like

  flux: 9.01 kB (12.3%)
    <self>: 9.01 kB (100%)

it seems the second line is redundant. Does it seem safe to skip printing the self line when remainder === totalSize?

Yes, I think this would be a sensible change to make.