histoire
Version:
A fast story book powered by Vite
13 lines • 792 B
TypeScript
import type { Context } from '../context.js';
import type { createCollectionChannel } from './channel.js';
/** The Vite plugin exposing the collection results endpoint. */
type CollectionChannelPlugin = ReturnType<typeof createCollectionChannel>['plugin'];
/**
* Builds the Vitest browser config of a story collection run.
* @param ctx The histoire context.
* @param specFiles The generated collection specs, also used as optimizer entries.
* @param channelPlugin The plugin exposing the collection results endpoint.
*/
export declare function getCollectionVitestConfig(ctx: Context, specFiles: string[], channelPlugin: CollectionChannelPlugin): Promise<import("../vitest-browser-config/index.js").VitestBrowserRuntimeConfigResult>;
export {};
//# sourceMappingURL=vitest-config.d.ts.map