Skip to content

chore: export types before module#13

Merged
dreyfus92 merged 2 commits intobombshell-dev:mainfrom
43081j:fix-tsup-warns
Feb 25, 2025
Merged

chore: export types before module#13
dreyfus92 merged 2 commits intobombshell-dev:mainfrom
43081j:fix-tsup-warns

Conversation

@43081j
Copy link
Collaborator

@43081j 43081j commented Feb 25, 2025

tsup currently (and correctly) warns that our types exports come after our module exports, so are never read.

If we place them first, they will be resolved for both the import and require, and the warnings will go away.

tsup currently (and correctly) warns that our `types` exports come after
our module exports, so are never read.

If we place them first, they will be resolved for both the import and
require, and the warnings will go away.
@changeset-bot
Copy link

changeset-bot bot commented Feb 25, 2025

⚠️ No Changeset found

Latest commit: b7a6856

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 25, 2025

Open in Stackblitz

npm i https://pkg.pr.new/bombshell-dev/tab@13

commit: 7c8fb54

Copy link
Member

@dreyfus92 dreyfus92 left a comment

Choose a reason for hiding this comment

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

cool beans, LGTM 😁

@dreyfus92 dreyfus92 merged commit 62a5a3b into bombshell-dev:main Feb 25, 2025
7 checks passed
@43081j 43081j deleted the fix-tsup-warns branch February 25, 2025 17:00
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