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 improved exports field to package #166

Merged
merged 1 commit into from
Sep 15, 2023

Conversation

jonkoops
Copy link
Collaborator

Completely moves the entry-points to the exports field. The expanded exports field allows more recent versions of TypeScript with the Node16 preset to load the types properly. This allows it to pass the Are the types wrong? CLI and publint (CommonJS checks aside).

Although the main and type field might still be used by some tooling I've left them out on purpose. If we get feedback from users this is still needed we can restore it in a patch release.

@jonkoops jonkoops merged commit ed9008e into hughsk:master Sep 15, 2023
3 checks passed
@jonkoops jonkoops deleted the expanded-exports branch September 15, 2023 09:01
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