JS-DevTools / ono

Wrap errors without losing the original message, stack trace, or properties
https://jstools.dev/ono/
MIT License
106 stars 11 forks source link

Fix: exports.module.default does not exist #20

Open tstone opened 1 year ago

tstone commented 1 year ago

This PR fixes a tiny bug where module.exports exists but module.exports.default does not. An additional check is added to the conditional before proceeding.

Malcolm-Q commented 5 months ago

Nearly a year later. Any reason this hasn't been merged?

PymZoR commented 3 months ago

This needs to be merged as any rollup / vitejs build are broken without it

ValeryG commented 3 months ago

please merge this! :)

feloy commented 2 weeks ago

Hi @JamesMessinger, any chance to have this PR merged? It would unblock all projects using roolup/vitejs builders