UNPKG

histoire

Version:

A fast story book powered by Vite

10 lines • 559 B
import type { Plugin as VitePlugin } from 'vite'; import type { Context } from '../context.js'; /** * Vite plugin resolving Histoire's virtual browser-runtime ids, the project's * Vitest copy, and the user setup file for a browser (or server) run. * @param ctx The histoire context; omitted in the standalone/config-less path. * @param isServer Selects the `server` half of a split `setupFile` config. */ export declare function createVitestBrowserResolvePlugin(ctx?: Context, isServer?: boolean): VitePlugin; //# sourceMappingURL=resolve-plugin.d.ts.map