Closed kettanaito closed 3 months ago
The library does build into ESM bundle right now but I don't suppose it has correct exports
and stuff. Needs re-checking.
I hope you aren't planning to drop CJS support?
@weyert, no, I'm not dropping the CJS support for any MSW libraries at the moment. It will be a CJS+ESM hybrid just like the upcoming version of MSW. It's a bit tedious to pull off from the maintenance perspective but it's worth the compatibility. Given that MSW is a devtool, some of the dual packaging concerns can be ignored.
Done in #39.
This package needs to ship in an ESM-friendly format, much like MSW does in the upcoming 2.0 version.