New issue
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
Vite compatibility #671
Comments
I have same problem with Remix and I'm able to fix it with: export default defineConfig({
plugins: [remix(), tsconfigPaths()],
+ legacy: { proxySsrExternalModules: true },
}); Read more at Vite docs ... but it only works on |
Thanks @cognvn! Interestingly, using the legacy flag didn't help. But by checking the shared vite document, I noticed I only tested the first workaround, so I tried the second one (i.e. use As you said, the proper workaround is using the |
I started using Material-tailwind + Remix + Vite, but I am getting the following errors. You can see it on Stackblitz.com
so, I changed it to:
and it didn't raise error, but see the following error in Chrome browser console:
I checked the dowloaded package(i.e.
http://localhost:4000/node_modules/.vite/deps/@material-tailwind_react.js?v=a54f6275
), I see this.which is a bit confusing. Any help? I am a bit suspecious to something like this: vitejs/vite#10612
The text was updated successfully, but these errors were encountered: