source-map-explorer icon indicating copy to clipboard operation
source-map-explorer copied to clipboard

Feature to compare the difference between two outputs

Open BenjaminHarding opened this issue 4 years ago • 2 comments

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.

BenjaminHarding avatar May 26 '21 01:05 BenjaminHarding

Duplicate of #14

nikolay-borzov avatar May 26 '21 07:05 nikolay-borzov

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

dylang avatar Jul 29 '22 16:07 dylang

(closing as a dupe)

danvk avatar Mar 14 '23 16:03 danvk