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
When sourcemaps are enabled in Vite and building for production, the following warnings are emitted:
vite v5.2.6 building for production...
node_modules/@tanstack/react-query-devtools/build/modern/index.js (1:0): Error when using sourcemap for reporting an error: Can't resolve original location of error.
node_modules/@tanstack/react-query/build/modern/useSuspenseQuery.js (1:0): Error when using sourcemap for reporting an error: Can't resolve original location of error.
node_modules/@tanstack/react-query/build/modern/useBaseQuery.js (1:0): Error when using sourcemap for reporting an error: Can't resolve original location of error.
I tried to repro it in the stackblitz above but could not with a very basic layout, so it might just be something I do in the rest of my app. If there is any indication of that, please just close the issue.
The project is an electron react app, using Vite to bundle.
Expected behavior
No warning in console.
How often does this bug happen?
Every time
Screenshots or Videos
Platform
Item
Value
Remote
WSL: Ubuntu
OS
Linux x64 5.15.150.1-microsoft-standard-WSL2
CPUs
AMD Ryzen 9 3900X 12-Core Processor (24 x 3800)
Memory (System)
31.31GB (28.82GB free)
VM
0%
Tanstack Query adapter
react-query
TanStack Query version
5.28.8
TypeScript version
5.4.3
Additional context
No response
The text was updated successfully, but these errors were encountered:
yeah sorry, no idea where that warning comes from in your app, I've never seen it before. if you can't reproduce it in isolation, I won't look into it, sorry.
Describe the bug
When sourcemaps are enabled in Vite and building for production, the following warnings are emitted:
Your minimal, reproducible example
https://stackblitz.com/edit/vitejs-vite-6wvpyq?file=src%2FApp.css
Steps to reproduce
I tried to repro it in the stackblitz above but could not with a very basic layout, so it might just be something I do in the rest of my app. If there is any indication of that, please just close the issue.
The project is an electron react app, using Vite to bundle.
Expected behavior
No warning in console.
How often does this bug happen?
Every time
Screenshots or Videos
Platform
Tanstack Query adapter
react-query
TanStack Query version
5.28.8
TypeScript version
5.4.3
Additional context
No response
The text was updated successfully, but these errors were encountered: