mirror of
https://github.com/eliasstepanik/strudel.git
synced 2026-01-12 06:08:37 +00:00
18 lines
400 B
JavaScript
18 lines
400 B
JavaScript
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
import mdx from 'vite-plugin-mdx';
|
|
|
|
// `options` are passed to `@mdx-js/mdx`
|
|
const options = {
|
|
// See https://mdxjs.com/advanced/plugins
|
|
remarkPlugins: [
|
|
// E.g. `remark-frontmatter`
|
|
],
|
|
rehypePlugins: [],
|
|
};
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react(), mdx(options)],
|
|
});
|