Skip to content

Vite 3: cannot import react-query devtools #8702

Answered by patak-dev
IanVS asked this question in Q&A
Discussion options

You must be logged in to vote

Here is a bug report for this #8704. @brillout I wonder if this is also what you are hitting in a lot of the deps you mentioned.
@sapphi-red it may be that some of our assumptions in #8606 weren't correct about Vite resolution taking completely over esbuild rules. Edit: Confirmed that using platform: 'browser' fixes this.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@sapphi-red
Comment options

@patak-dev
Comment options

@sapphi-red
Comment options

@brillout
Comment options

Answer selected by IanVS
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