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

Implement dynamic imports #37

Open
2 tasks
kjy5 opened this issue Jun 12, 2022 · 0 comments
Open
2 tasks

Implement dynamic imports #37

kjy5 opened this issue Jun 12, 2022 · 0 comments
Assignees
Labels
feature New feature or request
Milestone

Comments

@kjy5
Copy link
Owner

kjy5 commented Jun 12, 2022

  • More efficient code splitting in Vite
(!) Some chunks are larger than 500 KiB after minification. Consider:
- Using dynamic import() to code-split the application
- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/guide/en/#outputmanualchunks
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
  • Use this for importing assets
@kjy5 kjy5 added the feature New feature or request label Jun 12, 2022
@kjy5 kjy5 added this to the More Features milestone Jun 12, 2022
@kjy5 kjy5 self-assigned this Jun 12, 2022
@kjy5 kjy5 assigned kjy5 and unassigned kjy5 Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant