Skip to content

Conversation

@lishaduck
Copy link
Contributor

clean: true,
sourcemap: false,
skipNodeModulesBundle: true,
shims: true,
Copy link
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.

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
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
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).

"publint": "^0.3.10",
"semantic-release": "^24.0.0",
"tsdown": "^0.9.1",
"tsup": "^8.4.0",
Copy link
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

🎉 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