Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Output bundle analysis #15

Closed
tracker1 opened this issue Feb 17, 2020 · 2 comments
Closed

[Feature] Output bundle analysis #15

tracker1 opened this issue Feb 17, 2020 · 2 comments

Comments

@tracker1
Copy link

Webpack (and via extension, Parcel) support outputting a bundle analysis which shows visually the relative size of the modules of the built package, which is very useful for isolating problem areas.

@tracker1 tracker1 changed the title Output bundle analysis [Feature] Output bundle analysis Feb 18, 2020
@evanw
Copy link
Owner

evanw commented May 7, 2020

I agree this would be very helpful. It seems like something that people might need very different things from though. I wonder if the best way to approach this for now cost/benefit wise is to have a way to output structured metadata about the bundle to a file so that other tools can consume it. A proposal would be to write out each module's path, original size, bundled size, and dependencies. There may already be a standard format for this kind of thing out there.

@evanw
Copy link
Owner

evanw commented Jun 5, 2020

Version 0.4.8 includes a --metafile flag where you can output information about the bundle in JSON format. This should make it possible to integrate that information into other tools for analysis and display. See #140 for an example of such an integration.

@evanw evanw closed this as completed Jun 5, 2020
samccone added a commit to samccone/bundle-buddy that referenced this issue Jun 14, 2020
samccone added a commit to samccone/bundle-buddy that referenced this issue Jun 14, 2020
samccone added a commit to samccone/bundle-buddy that referenced this issue Jun 14, 2020
phantom930 pushed a commit to phantom930/bundle-buddy that referenced this issue Jul 1, 2022
phantom930 pushed a commit to phantom930/bundle-buddy that referenced this issue Jul 1, 2022
phantom930 pushed a commit to phantom930/bundle-buddy that referenced this issue Jul 1, 2022
raika-dev pushed a commit to raika-dev/bundle-buddy that referenced this issue Oct 13, 2022
raika-dev pushed a commit to raika-dev/bundle-buddy that referenced this issue Oct 13, 2022
raika-dev pushed a commit to raika-dev/bundle-buddy that referenced this issue Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@evanw @tracker1 and others