Skip to content

Fix wrong export file name caused by migrating to tsdown - #58

Merged
phanect merged 2 commits into
mainfrom
fix-exports
Dec 2, 2025
Merged

phanect merged 2 commits into
mainfrom
fix-exports

Conversation

@phanect

@phanect phanect commented Dec 2, 2025

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 corrects the file extensions for ESM imports in package.json after migrating the build tooling to tsdown. The tool generates .mjs files for ESM format instead of .js, so the export paths need to be updated accordingly.

Key Changes:

  • Updated ESM import paths from .js to .mjs extension in the exports field
  • Applied the fix to both the main entry point and the ./nodejs subpath export

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@phanect
phanect merged commit 384b06f into main Dec 2, 2025
8 checks passed
@phanect
phanect deleted the fix-exports branch December 2, 2025 03:28
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