Using React DevTools with Tauri v2 and Vite

How to automatically include the React DevTools script only during development with a Vite plugin.