thenorthsolution / Reciple

⚡Discord.js framework that just works
https://reciple.js.org
GNU General Public License v3.0
12 stars 1 forks source link

Discontinue support for CommonJS `require()` #51

Closed catplvsplus closed 5 months ago

catplvsplus commented 5 months ago

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

Visualization

- const { RecipleClient } = require('@reciple/core');
+ import { RecipleClient } from '@reciple/core';