Skip to content

Migrate to tsdown#25

Merged
AndreaPontrandolfo merged 3 commits intoAndreaPontrandolfo:mainfrom
lishaduck:tsdown
Apr 20, 2025
Merged

Migrate to tsdown#25
AndreaPontrandolfo merged 3 commits intoAndreaPontrandolfo:mainfrom
lishaduck:tsdown

Conversation

@lishaduck
Copy link
Copy Markdown
Contributor

Comment thread tsdown.config.ts
clean: true,
sourcemap: false,
skipNodeModulesBundle: true,
shims: true,
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This isn't needed.
Needing shims is a sign that the bundle config is wrong.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

ok but they say they strip it away if it's not used.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Ehh, that's true.
I'd still prefer to get warning signs if we're doing it wrong, but it's up to you ig.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Oh, I meant to mention, shims are good here. I forgot it isn't ESM only (although I don't see why not to go ESM-only here).

Comment thread package.json
"publint": "^0.3.10",
"semantic-release": "^24.0.0",
"tsdown": "^0.9.1",
"tsup": "^8.4.0",
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I forgot that 🤦‍♂️ lol

@AndreaPontrandolfo AndreaPontrandolfo merged commit edd2ba6 into AndreaPontrandolfo:main Apr 20, 2025
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 1.7.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lishaduck lishaduck deleted the tsdown branch April 21, 2025 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error: Dynamic require of "eslint/use-at-your-own-risk" is not supported

2 participants