Skip to content

Conversation

Codpoe
Copy link

@Codpoe Codpoe commented Oct 16, 2024

  • Modify the extension of the esm output file to mjs, so that nodejs can correctly recognize the ES module, and this does not require modifying the package.json type to "module".
  • Added conditional exports to support use in both cjs and esm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant