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

Treat missing "main" as index.js #300

Closed
wants to merge 1 commit into from
Closed

Conversation

rotu
Copy link

@rotu rotu commented May 11, 2023

As per https://docs.npmjs.com/cli/v9/configuring-npm/package-json#main:

If main is not set it defaults to index.js in the package's root folder.

As per https://docs.npmjs.com/cli/v9/configuring-npm/package-json#main:

> If `main` is not set it defaults to `index.js` in the package's root folder.
@rotu
Copy link
Author

rotu commented May 11, 2023

Closing since I misunderstood the code.

@rotu rotu closed this May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant