Files
talk-pro/node_modules/astro/dist/core/createMinimalViteDevServer.d.ts
2026-05-12 16:16:03 +08:00

9 lines
434 B
TypeScript

import { type ViteDevServer, type Plugin } from 'vite';
/**
* Creates a minimal dev server with a list of plugins. Use this instance for a one-shot usage.
*
* NOTE: This is intentionally in its own module to avoid pulling `vite`'s heavy `createServer`
* (and transitively Rollup) into every file that imports from `viteUtils.ts`.
*/
export declare function createMinimalViteDevServer(plugins?: Plugin[]): Promise<ViteDevServer>;