Skip to content

Fill in exports/other package.json fields #82

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

Merged
merged 1 commit into from
Jun 20, 2025

Conversation

danvk
Copy link
Contributor

@danvk danvk commented Jun 17, 2025

Apologies for all the PRs. I got two errors from 2.1.3:

  • A TypeScript error that the types file existed but was not in exports.
  • A module loader error that I didn't totally understand.

Adding "types" to the exports solved the first issue. Adding the top-level module and main fields solved the latter. I based this on https://github.com/MaxLeiter/sortablejs-vue3/blob/main/package.json.

@kimuraz
Copy link
Owner

kimuraz commented Jun 20, 2025

No apologies needed at haha thanks for the contributions!

@kimuraz kimuraz merged commit f3fdb95 into kimuraz:dev Jun 20, 2025
1 check passed
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.

2 participants