Closed Kamahl19 closed 6 months ago
Steps to reproduce upgrade to vite v5 run vite build
why can't you show a sandbox that has vite v5 already? I don't know which breaking config changes there are between v3 and v5 ...
I added a quick integration test for vite5, which works fine. So I think your issue must be somewhere else
Might be related to https://github.com/vitejs/vite/issues/15012
Getting the same now only after adding Sentry to the project and enabling SourceMaps
Getting the same now only after adding Sentry to the project and enabling SourceMaps
Same here
Describe the bug
After upgrading to Vite 5 which uses Rollup 4, I am getting 2 errors when building.
Your minimal, reproducible example
https://codesandbox.io/p/devbox/tanstack-query-example-react-simple-cn8h2r?embed=1
Steps to reproduce
Expected behavior
No error should be shown
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
any
Tanstack Query adapter
react-query
TanStack Query version
5.8.6
TypeScript version
5.2.2
Additional context
No response