Skip to content

Add "main" to package.json #265

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

Closed
ivan-lednev opened this issue Aug 27, 2023 · 3 comments · Fixed by #280
Closed

Add "main" to package.json #265

ivan-lednev opened this issue Aug 27, 2023 · 3 comments · Fixed by #280
Labels

Comments

@ivan-lednev
Copy link

ivan-lednev commented Aug 27, 2023

Hello,

I'm using the library with eslint-plugin-import, and it gives me grief because this library doesn't have the "main" field in package.json.

I think adding it might save some time for people who might encounter the same error.

Thanks for a great library!

@matthieujabbour
Copy link

I have the same issue, adding "main": "src/index.js", to the package.json fixes it.

@yanick
Copy link
Collaborator

yanick commented Nov 5, 2023

main field added. Hopefully it'll make eslint happy. :-)

Copy link

github-actions bot commented Nov 5, 2023

🎉 This issue has been resolved in version 4.0.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging a pull request may close this issue.

3 participants