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

Package.json exports #1

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

zodern
Copy link
Collaborator

@zodern zodern commented Dec 17, 2024

This implements package.json exports, following Node's specification. If I did it correctly, it should be feature complete and spec compliant. The main thing missing is many of the errors and assertions mentioned in the spec - due to how Meteor creates the bundles, I'm not sure how many of are relevant.

There's also a related feature of package.json imports. This PR does not implement it, but there probably isn't much more work needed to also support it.

This PR also reverts e5d9028. This comment was never published, and superseded by the current top level await implementation.

@zodern
Copy link
Collaborator Author

zodern commented Dec 17, 2024

The tests seem to be failing with node 4 and 5. I don't think it is related to this PR.

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.

1 participant