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

Webpack bundle is EXTREMELY HUGE #1889

Closed
sweetpalma opened this issue Aug 19, 2018 · 2 comments
Closed

Webpack bundle is EXTREMELY HUGE #1889

sweetpalma opened this issue Aug 19, 2018 · 2 comments

Comments

@sweetpalma
Copy link

I am using Beta 35 and Webpack 4 and it produces EXTREMELY huge bundle size.

As I stated in issue #1178, final size of my bundle grown from 240kb to more than 1mb after importing web3 and making basic setup like configuring provider, what is basically unacceptable. As @pubkey has stated in his comment, major part of that size growth is caused by multiple inclusions of the same bn.js package what is not tracked by Webpack for some mysterious reason.

Any ideas how to fix this?

@nivida
Copy link
Contributor

nivida commented Aug 19, 2018

I'll close this issue because we already have an issue to this topic. I'll have an closer look on this next week.

@rene78
Copy link

rene78 commented Oct 26, 2019

Don't really understand the referenced issue, but my bundle size is huge as well.
Any ideas on how to fix it?
Edit: This seems to be the same issue discussed in more detail: #1178

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