Skip to content

cyco130/vite-plugin-mdx

Repository files navigation

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

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.

In some cases it can interfere with Vite's dependency scanning.

Examples

Credits

This plugin is heavily based on @mdx-js/rollup.