You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Publishing real ESM, rather than ESM that imports from CJS, would be really useful for expect as it allows it to be used in environments outside of Node.
Motivation
As it stands, this faux ESM is just a facade for CJS and doesn't work outside of Node.
Example
No response
Pitch
expect (and potentially other packages), are extracted so that others may use them (at least I think that's the idea). Choosing to ship an ESM facade, however, limits the usefulness quite a bit as users are locked to Node.
I'm hoping that this wouldn't be too big of a lift for Jest, as it seems there is some desire to ship ESM for consumers.
The text was updated successfully, but these errors were encountered:
This issue was closed because it has been stalled for 30 days with no activity. Please open a new issue if the issue is still relevant, linking to this one.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.
🚀 Feature Proposal
Publishing real ESM, rather than ESM that imports from CJS, would be really useful for
expect
as it allows it to be used in environments outside of Node.Motivation
As it stands, this faux ESM is just a facade for CJS and doesn't work outside of Node.
Example
No response
Pitch
expect
(and potentially other packages), are extracted so that others may use them (at least I think that's the idea). Choosing to ship an ESM facade, however, limits the usefulness quite a bit as users are locked to Node.I'm hoping that this wouldn't be too big of a lift for Jest, as it seems there is some desire to ship ESM for consumers.
The text was updated successfully, but these errors were encountered: