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 "bun" export condition and set "types" exports first as ts 4.7 requirement #709

Merged
merged 2 commits into from
Oct 23, 2023

Conversation

lukeed
Copy link
Contributor

@lukeed lukeed commented Oct 23, 2023

Closes #692

Bun auto-matches a few conditions, including "worker" and "node". It looks for itself ("bun") first.

See: https://bun.sh/docs/runtime/modules#importing-packages

Also made types the first condition, which is required according to the TS 4.7 announcement blog

@porsager
Copy link
Owner

Sorry, I got to push a commit just before your PR :P Can you rebase to just have the types fix, then I'll merge.

@lukeed
Copy link
Contributor Author

lukeed commented Oct 23, 2023

Haha i saw, slow UI :S

Should already be updated

@porsager
Copy link
Owner

Seems like it.. My merge button hasn't even updated yet either - still thinks there are merge conflicts..

@porsager porsager changed the title add "bun" export condition add "bun" export condition and set "types" exports first as ts 4.7 requirement Oct 23, 2023
@porsager porsager merged commit 00dd98a into porsager:master Oct 23, 2023
@lukeed lukeed deleted the patch-1 branch October 23, 2023 22:29
@Angelelz
Copy link

Thank you for working on this so quickly!

@trylovetom
Copy link

thanks!

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.

error: ResolveMessage after upgrade to v 3.4.0
4 participants