vite
Version:
Native-ESM powered web dev build tool
5 lines (4 loc) • 328 B
TypeScript
import type { Connect } from 'types/connect';
import type { ViteDevServer } from '../..';
export declare function createDevHtmlTransformFn(server: ViteDevServer): (url: string, html: string, originalUrl: string) => Promise<string>;
export declare function indexHtmlMiddleware(server: ViteDevServer): Connect.NextHandleFunction;