Skip to content

Conversation

@dopry
Copy link
Owner

@dopry dopry commented Nov 2, 2025

importing the package in a svelte project with the import and require doesn't work.

importing the package in a svelte project with the import and require
doesn't work.
@dopry dopry requested a review from Copilot November 2, 2025 04:16
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR removes the import and require export conditions from the package.json exports field. The package now relies on the legacy main and module fields for CommonJS and ESM module resolution while maintaining the Svelte-specific entry point.

Key changes:

  • Removed import and require conditions from the exports field
  • Retained svelte and types conditions in exports

@dopry dopry merged commit c7518f5 into next Nov 2, 2025
7 checks passed
@dopry dopry deleted the fix/imports branch November 2, 2025 04:18
@github-actions
Copy link

github-actions bot commented Nov 2, 2025

🎉 This PR is included in version 1.2.0-next.6 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions
Copy link

github-actions bot commented Nov 2, 2025

🎉 This PR is included in version 1.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants