vite-plugin-react-pages icon indicating copy to clipboard operation
vite-plugin-react-pages copied to clipboard

WIP: migrate to mdx v2

Open csr632 opened this issue 2 years ago • 1 comments

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.

csr632 avatar Aug 25 '22 18:08 csr632

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. image

We can wait longer for the ecosystem to adopt mdx v2.

csr632 avatar Aug 27 '22 09:08 csr632

It's done! Currently it is published in an alpha version. Check it out: https://github.com/vitejs/vite-plugin-react-pages/pull/96

csr632 avatar Nov 13 '22 18:11 csr632