build: use vite and vitest#130
Conversation
|
This is a great improvement, thanks @enure! Just to clarify, this drops CommonJS support making the library ESM-only? Because of this breaking change, I've bumped the major to Thanks again for this PR. After confirming, I'll merge and release. |
That's correct. It'd be very easy to keep CJS support by adjusting |
|
@enure I'm good with dropping CJS support (unless too many people complain but at this point it's best to push the needle harder towards ESM). Thanks again for the PR! Merging and releasing now. |
This PR fixes #106.
I have this published to my personal scope on npm and imported into a dependent and it's working as expected.
Tests are passing with Vitest:
