### Which project does this relate to? Router ### Describe the bug Hi 👋, I’m using Rsbuild with React, TanStack Router, and TanStack Query. Everything works great except the TanStack Devtools popup. The devtools UI renders, and the popup icon appears, but clicking the popup icon crashes with this error in the console: ```ts Uncaught TypeError: undefined is not a function ``` in here ```ts import.meta.hot?.on("vite:beforeUpdate", () => { localStorage.setItem("pip_open", "false"); closePipWindow(); }); ``` ### Your Example Website or App n/a ### Steps to Reproduce the Bug or Issue 1. Start a React app using Rsbuild + TanStack Router + TanStack Query. 2. Enable the TanStack devtools. 3. Open the devtools panel and click the popup icon. ### Expected behavior Popup window should open correctly, as it does when using Vite. ### Screenshots or Videos https://github.com/user-attachments/assets/da57d40e-8cfb-4b50-af77-289cfde0c17e ### Platform - Router: [1.131.2] - OS: [macOS] - Browser: [Chrome] - Bundler: [rsbuild] - Bundler Version: [1.5.4] ### Additional context _No response_
Which project does this relate to?
Router
Describe the bug
Hi 👋,
I’m using Rsbuild with React, TanStack Router, and TanStack Query. Everything works great except the TanStack Devtools popup.
The devtools UI renders, and the popup icon appears, but clicking the popup icon crashes with this error in the console:
in here
Your Example Website or App
n/a
Steps to Reproduce the Bug or Issue
Expected behavior
Popup window should open correctly, as it does when using Vite.
Screenshots or Videos
Screen.Recording.2025-12-27.at.14.44.37.mov
Platform
Additional context
No response