Skip to content

Support commonjs format #1773

Answered by ChristianMurphy
Codpoe asked this question in Q&A
Discussion options

You must be logged in to vote

This is explained some more at unifiedjs/unified#121, mdx is part of a broader ecosystem which has already migrated.

If you're more interested in why ESM read https://blog.sindresorhus.com/get-ready-for-esm-aa53530b3f77
If you're more interested in why not try to dual package read: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c#gistcomment-3850849 and https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c#gistcomment-3850692

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ChristianMurphy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants