2.1.6 • Published 8 months ago
@cyco130/vite-plugin-mdx v2.1.6
@cyco130/vite-plugin-mdx
This is a plugin for using MDX in Vite applications. It is tested with React, Preact and Solid but should work with any JSX implementation.
Why not vite-plugin-mdx
?
vite-plugin-mdx
is currently unmaintained and only supports MDX version 1 whereas @cyco130/vite-plugin-mdx
supports MDX version 3. In fact, this plugin may one day replace vite-plugin-mdx
.
Why not @mdx-js/rollup
?
In some cases it can interfere with Vite's dependency scanning.
Examples
Credits
This plugin is heavily based on @mdx-js/rollup
.