Re:Using Bun.js as a Bundler
by eyelidlessness on Thursday May 18, 2023 @02:24AM
(#35984652)
My problem with “Vite is good enough” and “Vitest is good enough” as a paired hypothesis is they are literally opposite in their target environments. It’s explicitly unsupported to use Vite to build projects specifically for Node as a target, and it’s explicitly unsupported to test in Vitest in browser environments (though I think that’s being actively addressed, but it’s still going to be a second class solution).
[ Parent
| on HN ]
Re:Using Bun.js as a Bundler
by throwme_123 on Friday May 19, 2023 @09:38AM
(#36001789)
It depends of what you mean by browser environments (integration tests?), but vitest with happy-dom is working great for testing libraries and components.