btd / rollup-plugin-visualizer

📈⚖️ Visuallize your bundle
MIT License
1.82k stars 54 forks source link

[Feature Request] New report format: image (PNG or webp) #193

Open zymotik opened 1 month ago

zymotik commented 1 month ago

I would like to add an image to pull requests after the build has completed to show the impact of the code changes. If we could export an image, it would make it easier to visualize.

Thanks for the great tool!

btd commented 1 month ago

It is possible very easily currently to get SVG, as it is what is used to draw diagram. I almost 100% sure i will not add any heavy dependency in plugin to generate image.