4 ms·
How do people using Vite deal with Common JS dependencies? As far as I tried, there were issues with those when using "vite dev". Sadly, at this point, I can't
by Palmik 6y ago
How do people using Vite deal with Common JS dependencies? As far as I tried, there were issues with those when using "vite dev". Sadly, at this point, I can't get rid of those (e.g. protobufs+grpc-web generated code).
- rk06 5y agoThe right way would be to raise an issue with this dependencies to support ES modules. I believe vite does support cj's dependencies, you would need to file an issue on vite repo on why you are getting the error