Skip to content

fix: optimize vite config with proper server watch and build settings#1310

Open
1234-ad wants to merge 1 commit intongoworldcommunity:mainfrom
1234-ad:fix/vite-config-optimization
Open

fix: optimize vite config with proper server watch and build settings#1310
1234-ad wants to merge 1 commit intongoworldcommunity:mainfrom
1234-ad:fix/vite-config-optimization

Conversation

@1234-ad
Copy link
Copy Markdown

@1234-ad 1234-ad commented Nov 5, 2025

Changes

  • Fixed watch configuration by properly nesting it under server config
  • Added build optimizations with manual chunk splitting for better performance
  • Separated vendor libraries (React, React Router) into dedicated chunks
  • Isolated MUI components into separate chunk
  • Isolated Redux libraries into separate chunk
  • Added chunk size warning limit configuration

Benefits

  • Improved development experience with proper file watching
  • Better production build performance with optimized code splitting
  • Reduced initial bundle size through strategic chunking
  • Faster page loads by leveraging browser caching of vendor chunks
  • Cleaner build output with organized chunk structure

@github-project-automation github-project-automation Bot moved this to Todo in Milan Nov 5, 2025
@github-actions github-actions Bot added status: todo ⏳ This issue is yet to be seen by the maintainer of the project. 🐞 bug This is a patch, generally fixing some bugs. labels Nov 5, 2025
Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @1234-ad, thank you for raising a pull request.

Currently, the pull request is marked as status: todo ⏳ This issue is yet to be seen by the maintainer of the project. so please wait until the maintainers/owner review it and provide you with feedback/suggestions to proceed further.

Feel free to reach out to Tamal on Twitter, or drop a mail at tamalcodes@gmail.com if you think that this pull request is of critical priority.

Give us a ⭐ to show some support
Happy OpenSource 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐞 bug This is a patch, generally fixing some bugs. status: todo ⏳ This issue is yet to be seen by the maintainer of the project.

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant