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

optimizeDeps.include can be removed #99

Closed
yaquawa opened this issue Mar 20, 2021 · 1 comment
Closed

optimizeDeps.include can be removed #99

yaquawa opened this issue Mar 20, 2021 · 1 comment

Comments

@yaquawa
Copy link

yaquawa commented Mar 20, 2021

As far as I know, Vite could discover the dependencies automatically, is there any reason we should put the vue, vue-router, @vueuse/core explicitly in the optimizeDeps.include of vite.config.ts?

@hannoeru hannoeru added enhancement New feature or request pr welcome and removed enhancement New feature or request pr welcome labels Mar 20, 2021
@hannoeru
Copy link
Collaborator

It can prevent vite full reload page when detected new deps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants