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
default exports not working on CJS + treeshake: true #814
Comments
Reading this piece of Rollup documentation: https://rollupjs.org/guide/en/#outputinterop it says:
So I wonder if we should add tsup/src/plugins/tree-shaking.ts Lines 46 to 51 in 31b2e72
|
🎉 This issue has been resolved in version 6.6.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Here is a simplified version of my react code:
The generated CJS file with tsup
v6.3.0
was working ✅The generated CJS file with tsup⚠️
v6.4.0
isn't workingDo you know if there is additional rollup configuration I need to pass to have rollup resolving
default
exports properly?Originally posted by @csantos1113 in #749 (comment)
Upvote & Fund
The text was updated successfully, but these errors were encountered: