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

JS bundle size #5

Closed
niconoe opened this issue Sep 8, 2021 · 3 comments
Closed

JS bundle size #5

niconoe opened this issue Sep 8, 2021 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@niconoe
Copy link
Member

niconoe commented Sep 8, 2021

The inde-bundle.js file generated by Webpack is currently 4.5Mb. We should investigate soon how to improve.

@niconoe niconoe added the enhancement New feature or request label Sep 8, 2021
@niconoe niconoe self-assigned this Sep 8, 2021
niconoe pushed a commit that referenced this issue Sep 8, 2021
@niconoe
Copy link
Member Author

niconoe commented Sep 8, 2021

We got to 2.7Mb, just by importing D3 better. Still some improvements needed!

@niconoe
Copy link
Member Author

niconoe commented Sep 10, 2021

Now we got to 481Kb just by running Webpack in production mode. Much better!

@niconoe
Copy link
Member Author

niconoe commented Sep 10, 2021

I think it's good enough for now (early development phase). We can always revisit later if needed.

@niconoe niconoe closed this as completed Sep 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant