danvk / source-map-explorer

Analyze and debug space usage through source maps
Apache License 2.0
3.81k stars 119 forks source link

Feature to compare the difference between two outputs #208

Closed BenjaminHarding closed 1 year ago

BenjaminHarding commented 3 years ago

I've been using the source-map-explorer to view the exact files which are included in different bundles pages.

After introducing some changes in my code, I would find it useful to be able to be able to visually see the difference between two outputs: Increased bundle sizes could be red, decreased sizes could be green, new/different modules could be highlighted, white can maintain the same colour, etc.

Currently, I just open the differences in two tabs ("before" and "after") but when working with a large codebase, it is quite time-consuming manually playing spot the difference.

nikolay-borzov commented 3 years ago

Duplicate of #14

dylang commented 2 years ago

I created a package that does this https://github.com/dylang/source-map-diff

danvk commented 1 year ago

(closing as a dupe)