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
As the Node.js community moves toward ESM, I am looking to switch the project from CommonJS to ECMAScript Modules (ESM). This change is essential to take advantage of ESM's improved support for static analysis, tree shaking, and more reliable code structuring.
The text was updated successfully, but these errors were encountered:
haricnugraha
added
the
Tech Debt
Techdebt need to be implemented the sooner the better, as its getting expensive if implemented later
label
Jan 8, 2024
I've tried to convert the code to ESM. I've successfully converted it, able to run it. But I can't run the test. You can see the code here. I suspect there is a problem with Mocha. I got the following error.
As the Node.js community moves toward ESM, I am looking to switch the project from CommonJS to ECMAScript Modules (ESM). This change is essential to take advantage of ESM's improved support for static analysis, tree shaking, and more reliable code structuring.
Read more:
The text was updated successfully, but these errors were encountered: