UNPKG

@brendonovich/kobalte__solidbase

Version:

Fully featured, fully customisable static site generation for SolidStart

16 lines (15 loc) 555 B
import { type Plugin } from "vite"; import type { MdxOptions, MdxPlugin } from "../types.js"; /** * With transclusion enabled, an `.mdx` file can import other `.mdx` or `.md` * files without an import specifier. * * import "../other.mdx" * * The file extension is required. * * The imported file is inlined into its importer, but the imported file can * still have its own Remark plugins. * */ export declare function viteMdxTransclusion(globalMdxOptions: MdxPlugin["mdxOptions"], getMdxOptions?: (filename: string) => MdxOptions): Plugin;