Support commonjs format #1773
-
I’m curious about why mdx@next only provides es module format? |
Beta Was this translation helpful? Give feedback.
Answered by
ChristianMurphy
Oct 23, 2021
Replies: 1 comment
-
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 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ChristianMurphy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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