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
{{ message }}
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.
reproduce:
https://github.com/csr632/test-vite/tree/plugin-react
Investigate
The injection of window.process happens after importing '/@react-refresh'
https://github.com/vitejs/vite-plugin-react/blob/0dedc26c5cc3890524e3e9cb8a7d4f84297a3e1e/src/serverPlugin.ts#L49
So plugins that append module code into html should resolve
process.env.NODE_ENV
by themself.The text was updated successfully, but these errors were encountered: