Skip to content
Discussion options

You must be logged in to vote

Vite can't just not analyze it. import.meta.glob would be preserved in the client/server and it'll error in runtime because it doesn't exist. You'd need a different code approach to the problem you're trying to tackle.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@bluwy
Comment options

Answer selected by babakfp
@babakfp
Comment options

@frederikheld
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants