We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
see this demo: https://github.com/SheldonWatson/vite-commonjs-isure
when @material-ui/icons/Search use React.lazy, can't render correctly,I don't really know it's vite's bug or your plugin'bug...
The text was updated successfully, but these errors were encountered:
It seems not the plugin's problem, because the same error is reported even when the plugin is not used.
Sorry, something went wrong.
Yes, It's vite's bug, I have created an issue there。
But can you fixed the error when '@vitejs/plugin-react-refresh' and 'viteCommonJs' plugins exist together:
Use exclue to temporarily solve this problem, and I will look into it. Thx!
exclue
viteCommonjs({ exclude: ['@react-refresh'], })
fix: allow require in comments (#6)
609869a
No branches or pull requests
see this demo: https://github.com/SheldonWatson/vite-commonjs-isure
when @material-ui/icons/Search use React.lazy, can't render correctly,I don't really know it's vite's bug or your plugin'bug...
The text was updated successfully, but these errors were encountered: