We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
exports.default
module.exports.default
I've read https://tsup.egoist.sh/#faq , but it seems like the default behavior is outputting exports.default but not module.exports.default ?
The text was updated successfully, but these errors were encountered:
Related: cjs/esm interoperability patch.
It would be really cool if tsup supported this behavior out of the box, perhaps behind a flag.
tsup
Sorry, something went wrong.
I've read tsup.egoist.sh/#faq , but it seems like the default behavior is outputting exports.default but not module.exports.default ?
Yeah.
not sure about that, it's already trivial if you somehow want this:
const mod = require('./dist/index') module.exports = mod Object.assign(module.exports, mod)
export default
module.exports
No branches or pull requests
I've read https://tsup.egoist.sh/#faq , but it seems like the default behavior is outputting
exports.default
but notmodule.exports.default
?The text was updated successfully, but these errors were encountered: