Skip to content

Failed to scan for dependencies from entries ... what does this mean? #13306

Answered by bluwy
kaiyoma asked this question in Q&A
Discussion options

You must be logged in to vote

Vite treats all possible HTML files as entries by default during scanning (a simple **/*.html glob from Vite root), since technically you can access /packages/cv-resource/docs/index.html from the Vite project too.

If that's not desirable, you can configure optimizeDeps.entries to change the entries. Maybe we can update the error message to show optimizeDeps.entries if you'd like to contribute.

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@jkhartshorne
Comment options

@bluwy
Comment options

Answer selected by kaiyoma
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@ZakariyaeOuazzanix
Comment options

@Romuad-Zoungla
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
7 participants
Converted from issue

This discussion was converted from issue #13301 on May 23, 2023 03:47.