MDX 2 support #34421
-
Preliminary Checks
DescriptionMDX 2 features several improvements over MDX 1. The main blocker on making For 'issue reproduction' here I will describe what happens if one attempts to naively follow the MDX 2 migration guide in a Gatsby project. Reproduction Linkhttps://mdxjs.com/migrating/v2/ Steps to Reproduce
Expected ResultThe ideal result would be Gatsby 'just working' with MDX 2. Actual ResultGatsby presents the error message EnvironmentSystem:
OS: Windows 10 10.0.19044
CPU: (24) x64 AMD Ryzen 9 3900XT 12-Core Processor
Binaries:
Node: 16.13.1 - C:\Program Files\nodejs\node.EXE
npm: 8.1.2 - C:\Program Files\nodejs\npm.CMD
Languages:
Python: 3.9.2 - C:\Python39\python.EXE
Browsers:
Edge: Spartan (44.19041.1266.0), Chromium (96.0.1054.62)
npmPackages:
gatsby: ^4.4.0 => 4.4.0
gatsby-plugin-mdx: ^3.4.0 => 3.4.0
gatsby-source-filesystem: ^4.4.0 => 4.4.0 Config FlagsNo response |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
ESM is something we plan on doing this quarter (#31599) which will unblock this. |
Beta Was this translation helpful? Give feedback.
-
Work on this has started, once a canary is out you can give your feedback here: #25068 |
Beta Was this translation helpful? Give feedback.
-
Hi! We merged #35650 which means that a new major version of |
Beta Was this translation helpful? Give feedback.
Hi!
We merged #35650 which means that a new major version of
gatsby-plugin-mdx
will be released on August 16. You can already try it out by installinggatsby-plugin-mdx@next
&gatsby@next
.