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

Profiling for bundle size statistics? #4044

Closed
uglycoyote opened this issue Jan 27, 2020 · 2 comments
Closed

Profiling for bundle size statistics? #4044

uglycoyote opened this issue Jan 27, 2020 · 2 comments

Comments

@uglycoyote
Copy link

❔ Question

Is there a way to get statistics from Parcel about what is contributing to the bundle size?

I would like something to similar to what Webpack has with their ability to dump out statistics to a json file and then analyze the data with something that provides a nice visualization, e.g.:

https://github.com/chrisbateman/webpack-visualizer

🔦 Context

For devopment, I have a large mono-app with a lot of different experiments. The bundle size is 10 MB and it is taking Parcel longer and longer to build it. On my small Linode machine than I run Jenkins on, Parcel frequently crashes during bundling (due to low RAM on the instance I believe). For these reasons, I think it would be great to have some more data from my build that would help figure out where the fat could be trimmed.

Maybe this ties in with #3740?

🌍 Your Environment

Software Version(s)
Parcel 1.12.4
@DeMoorJasper
Copy link
Member

@uglycoyote
Copy link
Author

Thanks. That is exactly what I was looking for, not sure why my searches didn't lead to that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants