polen
Version:
A framework for delightful GraphQL developer portals
24 lines • 814 B
TypeScript
import type { CompileOptions } from '@mdx-js/mdx';
import { type FilterPattern } from '@rollup/pluginutils';
import type { Plugin } from 'vite';
type ApplicableOptions = Omit<CompileOptions, `SourceMapGenerator`>;
interface ExtraOptions {
/**
* Picomatch patterns to exclude (optional).
*/
exclude?: FilterPattern | null | undefined;
/**
* Picomatch patterns to include (optional).
*/
include?: FilterPattern | null | undefined;
}
export type Options = ApplicableOptions & ExtraOptions;
export declare const createConfig: (options?: Readonly<Options> | null | undefined) => Options;
/**
* Plugin to compile MDX.
*
* Uses Rolldown.
*/
export declare const VitePluginMdx: (options?: Readonly<Options> | null) => Plugin;
export {};
//# sourceMappingURL=vite-plugin-mdx.d.ts.map