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

Investigate vendor bundle size #37

Open
freddyheppell opened this issue Jul 10, 2022 · 0 comments
Open

Investigate vendor bundle size #37

freddyheppell opened this issue Jul 10, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@freddyheppell
Copy link
Member

From a recent prod build

20:37:34.699 | rendering chunks...
-- | --
20:37:35.007 | dist/index.html                  1.66 KiB
20:37:35.008 | dist/manifest.webmanifest        0.41 KiB
20:37:35.012 | dist/assets/index.53ab4696.js    26.48 KiB / gzip: 8.29 KiB
20:37:35.012 | dist/assets/index.07c4418a.css   41.13 KiB / gzip: 6.90 KiB
20:37:35.165 | dist/assets/vendor.f9466277.js   1808.62 KiB / gzip: 662.29 KiB
20:37:35.166 |  
20:37:35.167 | (!) Some chunks are larger than 500 KiB after minification. Consider:
20:37:35.167 | - Using dynamic import() to code-split the application
20:37:35.167 | - Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/guide/en/#outputmanualchunks
20:37:35.168 | - Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.

1.8mb pre-gzipping is quite hefty.

Potentially fontawesome?

@freddyheppell freddyheppell added the enhancement New feature or request label Jul 10, 2022
@freddyheppell freddyheppell added this to the v1.1.0 milestone Jul 10, 2022
@freddyheppell freddyheppell self-assigned this Jul 10, 2022
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