Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 1.4.0 is ESM only #5

Open
jacquesg opened this issue Jan 6, 2025 · 1 comment
Open

Version 1.4.0 is ESM only #5

jacquesg opened this issue Jan 6, 2025 · 1 comment

Comments

@jacquesg
Copy link

jacquesg commented Jan 6, 2025

Could this be made both CommonJS and ESM compatible?

With the latest version, this is now ESM only.

@klassm
Copy link

klassm commented Jan 22, 2025

Could it be that the export for esm is also currently broken? When using vitest, it always loads the cjs variant instead of the cjs variant. Looking a bit for the reasons, I guess the exports entry point seems to be missing:
https://nodejs.org/api/packages.html#package-entry-points

Also see vitest-dev/vitest#4233

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants