histoire
Version:
A fast story book powered by Vite
10 lines • 516 B
TypeScript
import type { Context } from '../context.js';
/** Writes one file to the configured build output directory. */
export declare function writeFile(fileName: string, content: string, ctx: Context, outputRoot?: string): Promise<void>;
/**
* Writes MSW's service worker used by static Vitest mock interception.
*
* Silently skipped when MSW is not installed: only mocked stories need it.
*/
export declare function writeMswWorker(ctx: Context, outputRoot?: string): Promise<void>;
//# sourceMappingURL=output.d.ts.map