Skip to content

Fix TypeScript exports resolution by adding types condition to exports map - #4

Merged
wezz merged 1 commit into
mainfrom
fix/exports-types-condition
May 20, 2026
Merged

Fix TypeScript exports resolution by adding types condition to exports map#4
wezz merged 1 commit into
mainfrom
fix/exports-types-condition

Conversation

@wezz

@wezz wezz commented May 20, 2026

Copy link
Copy Markdown
Owner

Add 'types' condition to package.json exports field so TypeScript with
moduleResolution bundler/node16/nodenext can resolve the declaration file.
Also add npm run build to the CI workflow so PR builds are verified.

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com

…s map

Add 'types' condition to package.json exports field so TypeScript with
moduleResolution bundler/node16/nodenext can resolve the declaration file.
Also add npm run build to the CI workflow so PR builds are verified.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@wezz
wezz merged commit e8d6bed into main May 20, 2026
2 checks passed
wezz added a commit that referenced this pull request May 20, 2026
Fix TypeScript exports resolution by adding types condition to exports map
wezz added a commit that referenced this pull request May 20, 2026
Fix TypeScript exports resolution by adding types condition to exports map
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