4 ms·
Vite uses esbuild under the hood. Providing much nicer DX
by thangngoc89 3y ago
Vite uses esbuild under the hood. Providing much nicer DX
- IggleSniggle 3y agoDepends on what you need, tbh. I looked into Vite briefly but esbuild seemed more obvious/ direct for hooking into the build system.
- dgb23 3y agoAt this point in my life I think "DX" - if you mean things like performance, reliability, simplicity and maintainability - is inversely proportional to the amount of (transitive) dependencies, layers of abstraction and (only half jokingly) also the percentage of JS that something includes. I've encountered a pretty back breaking memory leak in vite that has been unresolved for about 2y now. The project I work on that uses vite doesn't need the flexibility, feature set and plugin system that vite offers. It just needs a fast bundler.
- WorldMaker 3y agoesbuild has a decent DX and for some projects (especially libraries) the extra bells and whistles of Vite can be YAGNI.