vite-plugin-react-pages
vite-plugin-react-pages copied to clipboard
WIP: migrate to mdx v2
vite-plugin-react-pages currently use mdx v1: https://github.com/vitejs/vite-plugin-react-pages/blob/f8e71cdc4efb34fe814150a03a644ae73ae49ceb/packages/create-project/template-app/package.json#L19
And vite-plugin-mdx also only support mdx v1, currently.
As a reference, storybook.js currently treate mdx v2 as an experimental opt-in feature
According to the npm download data, the migration is going on very slowly in the ecosystem. The download number of mdx v1 is still far more than v2.
We can wait longer for the ecosystem to adopt mdx v2.
It's done! Currently it is published in an alpha version. Check it out: https://github.com/vitejs/vite-plugin-react-pages/pull/96