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

fix: correctly define exports #15

Merged
merged 2 commits into from
Jan 13, 2021
Merged

fix: correctly define exports #15

merged 2 commits into from
Jan 13, 2021

Conversation

sibbng
Copy link
Collaborator

@sibbng sibbng commented Jan 12, 2021

"import": "./dist/index.esm.js",
"require": "./dist/index.js",
},
"./": "./",
Copy link
Owner

Choose a reason for hiding this comment

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

What's this for? Exposing everything under the package?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

tbh i dont really know, just saw it on https://github.com/developit/htm/blob/master/package.json

@antfu antfu merged commit bd6b75b into antfu:master Jan 13, 2021
k4a-l added a commit to k4a-l/dirtreeist that referenced this pull request Nov 1, 2022
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

2 participants