Configure React transformation with the supported Vite major and verify production output.
Configure @vitejs/plugin-react 5 for a React application using Vite, diagnose JSX and Fast Refresh boundaries, and maintain version-specific Babel options. Use the installed plugin's peer range rather than copying plugin-react 6 configuration into Vite 7.