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

Allow user to specify template

Open pspeter3 opened this issue 8 years ago • 4 comments

Essentially a command line option to specify which HTML template to use.

pspeter3 avatar Oct 12 '17 18:10 pspeter3

What's your use case here? There's also a JSON output format that you can feed into other visualizations.

danvk avatar Oct 12 '17 18:10 danvk

My use case is just to apply some custom styling. I really like the tree visualization but want certain things to be highlighted. Perhaps I should use the JSON version and log it.

pspeter3 avatar Oct 12 '17 18:10 pspeter3

What would you like to highlight? There's a long-standing issue to use color but we've been unable to come to consensus on it. https://github.com/danvk/source-map-explorer/issues/21

danvk avatar Oct 12 '17 19:10 danvk

Some of it is specific to our bundle, like where we vendor third party code, but other is anything greater than 1% or 256kb

pspeter3 avatar Oct 12 '17 19:10 pspeter3