stefanpenner / broccoli-concat-analyser

MIT License
126 stars 14 forks source link

Output to SVG? #28

Closed NullVoxPopuli closed 6 years ago

NullVoxPopuli commented 6 years ago

Let's say I want to include the very nice bundle analysis in my repo and/or as artifacts on my ci/cd environment..

Is there a way I can output a self-contained file? at the moment, there aren't many files, image but without zipping, it'd be hard to send this to somebody.

I can screenshot, image

but I lose the ability to zoom in on the smaller pieces -- so I think an SVG would be the perfect solution to this. :)

stefanpenner commented 6 years ago

SVG would be good, although zoom would be lost. An alternative, would be to simply inline everything into the index.html. Which then could be shared?

Thoughts?

NullVoxPopuli commented 6 years ago

I think that'd be good enough, since sharing is the goal anyway :D

stefanpenner commented 6 years ago

@NullVoxPopuli maybe like: https://github.com/stefanpenner/broccoli-concat-analyser/pull/29 ?

stefanpenner commented 6 years ago

which produces: http://static.iamstef.net/self-contained-analyser-output.html

NullVoxPopuli commented 6 years ago

was that url a temp url? (getting 404 now)

stefanpenner commented 6 years ago

http://static.iamstef.net/self-contained-analyser-output.html

NullVoxPopuli commented 6 years ago

Perfection!

On Wed., 11 Jul. 2018, 7:08 pm Stefan Penner, notifications@github.com wrote:

http://static.iamstef.net/self-contained-analyser-output.html

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/stefanpenner/broccoli-concat-analyser/issues/28#issuecomment-404338137, or mute the thread https://github.com/notifications/unsubscribe-auth/AAMJalgvE9Av7qIXy9JjsvDszyo1Wii1ks5uFoVfgaJpZM4VK79P .

stefanpenner commented 6 years ago

Thanks for the idea!

NullVoxPopuli commented 6 years ago

@stefanpenner this is the best thing :)

https://emberclear.io/bundle.html

thanks again!

stefanpenner commented 6 years ago

emberclear looks cool!

NullVoxPopuli commented 6 years ago

Thanks!

On Mon., 16 Jul. 2018, 8:43 pm Stefan Penner, notifications@github.com wrote:

emberclear looks cool!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/stefanpenner/broccoli-concat-analyser/issues/28#issuecomment-405423513, or mute the thread https://github.com/notifications/unsubscribe-auth/AAMJavNbVEbyT146rDts1-yUfJymE_h_ks5uHTMcgaJpZM4VK79P .