source-map-explorer
source-map-explorer copied to clipboard
Make file size more compact
Guys, could we do something like that? Else all the decimals and stuff makes the visualization quite cluttered, less readable
@nikolay-borzov @danvk
Thanks for that lib also
Thank you for your contribution. I'm considering switching source-map-explorer visualization to foam-tree https://github.com/danvk/source-map-explorer/issues/185. Take a look. We might change what is displayed inside visualization blocks
@nikolay-borzov Oh, well I've also used https://www.npmjs.com/package/webpack-bundle-analyzer (which uses foam-tree), and I kinda like the simplicity of source-map-explorer currently, it's just my take on it, but I like more the current way, more minimal
Coverage remained the same at 97.397% when pulling c045a12c1d499bd5d0ae0dbf4b44342ffe38943a on caub:compact-file-sizes into 0de56022dc1290c61aa42294f1ccfce64d220fa5 on danvk:master.
@caub thanks for the PR. Can you include a before/after screenshot where you see this improving legibility?

The difference is small, but overall it's lighter (shorter unitssymbol, and 3 significant digits: 119.08 KB → 119K)