houdini-svelte
Version:
The svelte plugin for houdini
20 lines (19 loc) • 624 B
TypeScript
import type { ConfigFile } from 'houdini';
/**
* The houdini processor automates a lot of boilerplate to make inline documents
* work.
*
* It takes the same configuration values as the houdini config file as well as an
* optional `configFile` parameter to specify the path to use to find houdini.config.js
*/
export default function houdiniPreprocessor(extraConfig: {
configFile?: string;
} & Partial<ConfigFile>): {
markup({ content, filename }: {
content: string;
filename: string;
}): Promise<{
code: string;
map?: import("rollup").SourceMapInput | undefined;
}>;
};