UNPKG

fumadocs-mdx

Version:

The built-in source for Fumadocs

33 lines (32 loc) 882 B
import { h as IndexFilePluginOptions } from "../core-O3WLuY_I.js"; import { Plugin } from "vite"; //#region src/vite/index.d.ts interface PluginOptions { /** * Generate index files for accessing content. * * @defaultValue true */ index?: boolean | IndexFilePluginOptions; /** * @defaultValue source.config.ts */ configPath?: string; /** * Update Vite config to fix module resolution of Fumadocs * * @defaultValue true */ updateViteConfig?: boolean; /** * Output directory of generated files * * @defaultValue '.source' */ outDir?: string; } declare function mdx(config: Record<string, unknown>, pluginOptions?: PluginOptions): Promise<Plugin>; declare function postInstall(pluginOptions?: PluginOptions): Promise<void>; //#endregion export { PluginOptions, mdx as default, postInstall }; //# sourceMappingURL=index.d.ts.map