UNPKG

fumadocs-mdx

Version:

The built-in source for Fumadocs

18 lines (15 loc) 444 B
import { Plugin } from 'vite'; interface PluginOptions { /** * Automatically generate index files for accessing files with `import.meta.glob`. * * @defaultValue true */ generateIndexFile?: boolean; /** * @defaultValue source.config.ts */ configPath?: string; } declare function mdx(config: Record<string, unknown>, options?: PluginOptions): Plugin; export { type PluginOptions, mdx as default };