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

Add main to work around eslint-plugin-import #29

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tanhauhau
Copy link
Contributor

No description provided.

Copy link
Contributor

@benmccann benmccann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks like a good change. It's not valid per the Node.js spec to have only a module field as I understand. That's only used by bundlers. You should always have a main. We don't really need the module field and could remove it as any bundlers that read module would also understand main

@yannbf
Copy link

yannbf commented Feb 14, 2022

This sounds like a great (and needed) feature! Any chance this could get merged? Thanks!

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

Successfully merging this pull request may close these issues.

None yet

3 participants