We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently we have a large sized bundle (abt 700kb) , we need to make it smaller
A tool that can help visualise the problem is called webpack-bundle-analyzer : https://www.npmjs.com/package/webpack-bundle-analyzer
we are at the limits of what is acceptable to the build. So, some hints are image sizes, the separation of assets when bundling , another item for optimising our code base is "moment" a package which takes a lot of space , this one we could replace with pure javascript, we use moment as a library in a few places and similar to SVG it showed on the tool to have a large part. Another package is lodash. Blogs on the subject: https://www.reddit.com/r/reactjs/comments/79i30p/how_much_is_your_production_bundle_size/ Ways to begin reducing bundle size: https://blog.jakoblind.no/3-ways-to-reduce-webpack-bundle-size/ on stackoverflow : https://stackoverflow.com/questions/73548792/webpack-with-svger-causing-huge-bundle-size .
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently we have a large sized bundle (abt 700kb) , we need to make it smaller
A tool that can help visualise the problem is called webpack-bundle-analyzer :
https://www.npmjs.com/package/webpack-bundle-analyzer
we are at the limits of what is acceptable to the build. So, some hints are image sizes, the separation of assets when bundling , another item for optimising our code base is "moment" a package which takes a lot of space , this one we could replace with pure javascript, we use moment as a library in a few places and similar to SVG it showed on the tool to have a large part. Another package is lodash.
Blogs on the subject:
https://www.reddit.com/r/reactjs/comments/79i30p/how_much_is_your_production_bundle_size/
Ways to begin reducing bundle size:
https://blog.jakoblind.no/3-ways-to-reduce-webpack-bundle-size/
on stackoverflow : https://stackoverflow.com/questions/73548792/webpack-with-svger-causing-huge-bundle-size .
The text was updated successfully, but these errors were encountered: