Skip to content

Using Cypress for E2E tests #125

Answered by JorgenVatle
harry-73 asked this question in Q&A
Discussion options

You must be logged in to vote

Vite will optimize dependencies as they are being requested. It doesn't know which dependencies need to be optimized until you load the app for the first time. Probably because we're not using the standard Vite index.html file. So there should be some changes we can make to fix this for you with the next release.

For now, you can manually point Vite to your client entrypoint using optimizeDeps.entries

Let me know how it goes. 🤞

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JorgenVatle
Comment options

Answer selected by JorgenVatle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants