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

A way to include dependencies for dev server in optimizeDeps to find everything first run #30

Open
rquast opened this issue Oct 21, 2021 · 0 comments

Comments

@rquast
Copy link

rquast commented Oct 21, 2021

I had problems with vite-jest not finding all dependencies the first run until I realised that you have to have the dev server include them in optimizeDeps. Otherwise, it may take a few runs for vite to pick them up. I ended up moving the vite-jest code base into my project to get around this.

My question is - is there a good way that we can change the vite-jest code to make the dev server, vite-server.js inside of vite-jest easily configurable?

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

1 participant