Closed TeamWolfyta closed 1 year ago
Anyone else having this issue, Revert to the previous version. https://www.npmjs.com/package/discordx/v/11.7.1.
You broke the ESM build by merging https://github.com/discordx-ts/discordx/pull/929, ESM requires file extensions in the imports. I would revert https://github.com/discordx-ts/discordx/pull/929 as from my understanding, You'd have to use a bundler to make use of tree-shaking, Discordx isn't bundled last I checked, It's built then published, Making the merge completely useless.
So this is incorrect.
ts-node-esm
is NOT ESM. Typescript ESM is NOT ESM.
What happened?
You broke the ESM build by merging #929, ESM requires file extensions in the imports. I would revert #929 as from my understanding, You'd have to use a bundler to make use of tree-shaking, Discordx isn't bundled last I checked, It's built then published, Making the merge completely useless.
Reproduction
Install latest version (11.7.2) and try and run it.
Package
discordx
Version
Stable
Relevant log output
Code of Conduct