-
Notifications
You must be signed in to change notification settings - Fork 11
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
Fix: exports.module.default does not exist #20
base: master
Are you sure you want to change the base?
Conversation
Details in JS-DevTools/ono#19, It's fixed in JS-DevTools/ono#20 This package is not maintained but it's depended on by swagger-parser
Nearly a year later. Any reason this hasn't been merged? |
This needs to be merged as any rollup / vitejs build are broken without it |
please merge this! :) |
Hi @JamesMessinger, any chance to have this PR merged? It would unblock all projects using roolup/vitejs builders |
Please merge this PR 🥺🙏 |
Can this PR please be merged? The bug is breaking my import of the 'next-swagger-doc' package. I've confirmed that the one-line change fixes the import issue. |
This PR fixes a tiny bug where
module.exports
exists butmodule.exports.default
does not. An additional check is added to the conditional before proceeding.