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

Reduce web bundle size #587

Open
lupino3 opened this issue Jul 19, 2021 · 2 comments
Open

Reduce web bundle size #587

lupino3 opened this issue Jul 19, 2021 · 2 comments

Comments

@lupino3
Copy link
Member

lupino3 commented Jul 19, 2021

The webpack output is 16 MB. That's really too much!

We need to understand why it's so large and seeing if there are any low-hanging fruits to reduce the bundle size. See https://github.com/webpack-contrib/webpack-bundle-analyzer for a tool that shows what takes up space.

@lupino3
Copy link
Member Author

lupino3 commented Aug 4, 2021

Looking at the resulting treemap, I'm not sure there's an easy way to reduce the bundle size:
image
It'd be nice to serve a gzipped JS file, but it's not possible with Github Pages.

@lupino3
Copy link
Member Author

lupino3 commented Aug 4, 2021

Here's the treemap for the production version:
image

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

1 participant