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 2.6.1 has incorrect configuration for CJS in package.json #1269

Closed
yinzara opened this issue Sep 3, 2021 · 1 comment
Closed

Version 2.6.1 has incorrect configuration for CJS in package.json #1269

yinzara opened this issue Sep 3, 2021 · 1 comment
Labels

Comments

@yinzara
Copy link

yinzara commented Sep 3, 2021

As file with jest-fetch-mock:
jefflau/jest-fetch-mock#161 (comment)

There is a mistake in the "main" entry in the package.json release in 2.6.1 that is causing import errors.

It currently reads:

"main": "lib/index",

It should be:

"main": "lib/index.js",
@jimmywarting
Copy link
Collaborator

jimmywarting commented Sep 5, 2021

Fix on the way: #1274
kind of finish - just waiting for review (acceptances from 1 team member)

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

No branches or pull requests

2 participants