You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the alpha (v5) version of tanstack query on a side project and I have added the devtools. The dependency ("@tanstack/react-query-devtools": "^5.0.0-alpha.72",) is installed as a dev dependency (also tried as normal dependency). I'm using it on a NextJS v13 app generated with created-next-app.
The app is being deployed to Vercel.
The same setup but using react-query v4 was working and deploying to production without a problem.
Describe the bug
I'm using the alpha (v5) version of tanstack query on a side project and I have added the devtools. The dependency (
"@tanstack/react-query-devtools": "^5.0.0-alpha.72",
) is installed as a dev dependency (also tried as normal dependency). I'm using it on a NextJS v13 app generated with created-next-app.The app is being deployed to Vercel.
The same setup but using react-query v4 was working and deploying to production without a problem.
Your minimal, reproducible example
https://github.com/kaumac/rank-tt
Steps to reproduce
Running
npm run build
should trigger the errorExpected behavior
As a user, I expect to not have the devtools as part of the production bundle, but its happening and breaking production builds.
How often does this bug happen?
Every time
Screenshots or Videos
Platform
Mac OS 12.6
Tanstack Query adapter
react-query
TanStack Query version
5.0.0-alpha.72
TypeScript version
5.1.5
Additional context
No response
The text was updated successfully, but these errors were encountered: