When I run my project in development
mode, everything works perfectly fine. However, when I build the project using `vite build´, some components stop functioning.
Oddly enough, there are no errors displayed in the console or in the build logs.
If I use vite build --mode development
, the bundle is generated and the project runs smoothly.
For your convenience, I've put together a Proof of Concept (POC) that demonstrates the issue: Check it out here!