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
In the future major update, support for CommonJS will be dropped and all the packages will be using ES Modules. This means that using require() to import packages will no longer work and will only work for import().
Reasons
Discord.js breaks types when importing from cjs and mjs
ESM features cannot be utilized because of the support for CJS
CJS is old and not the standard for importing packages
In the future major update, support for CommonJS will be dropped and all the packages will be using ES Modules. This means that using
require()
to import packages will no longer work and will only work forimport()
.Reasons
Visualization
The text was updated successfully, but these errors were encountered: