project-start-an / project-start-web

wedecodeit e-commerse website
https://www.project-start.online/
2 stars 0 forks source link

Optimize frontend #63

Closed toni123321 closed 10 months ago

toni123321 commented 10 months ago

Describe the bug While working on fix design bugs, me and @chernaevangel noticed this error:

(!) Some chunks are larger than 500 kB after minification. Consider:
- Using dynamic import() to code-split the application
- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.

To Reproduce Steps to reproduce the behavior:

  1. Build frontend

    npm run build

Expected behavior This warning should not appear! Larger chunks should be minified.