VocaDB/vocadb

Migrate to Vite

ycanardeau opened this issue · 0 comments

When I first run the npm run watch command (or npm run dev or whatever), it's extremely slow to build. It usually takes 3+ mins (sometimes even longer) on my local machine (16 GB RAM, intel CORE i7 8th Gen), which is so annoying. The subsequent builds for the npm run watch command are relatively fast, and it usually takes a few seconds for small changes.

If I remember correctly, it wasn't that slow when we first introduced npm and Laravel Mix. Currently we have two different implementations for frontend code: jQuery/Knockout and React/MobX, which might be the cause of this slowness.