You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! Thanks for your awesome work regarding modern-errors, but I have a one problem with this library. It just doesn't work without ESM completely. I've seen this issue #3 and I get your points, but I wonder why it's not possible for a library to support temporarily both CommonJS and ESM. I would love to use this library in my project, but due to it's dependencies it's impossible to migrate towards pure ESM setup. I tried it, but I encounter like infinite flow of bugs in deps.
Here is a screenshot from another library that just handles it well.
The text was updated successfully, but these errors were encountered:
Thanks for your feedback. However, as you mentioned, this is a duplicate of #3, so the answer to your question is described in that other thread. In particular, this comment and the section called "Double packaging" explains the main problem being providing support for both ESM and CommonJS, but other parts of the thread provide with some additional points.
Hi! Thanks for your awesome work regarding modern-errors, but I have a one problem with this library. It just doesn't work without ESM completely. I've seen this issue #3 and I get your points, but I wonder why it's not possible for a library to support temporarily both CommonJS and ESM. I would love to use this library in my project, but due to it's dependencies it's impossible to migrate towards pure ESM setup. I tried it, but I encounter like infinite flow of bugs in deps.
Here is a screenshot from another library that just handles it well.
The text was updated successfully, but these errors were encountered: