UNPKG

vite

Version:

Native-ESM powered web dev build tool

8 lines (7 loc) 299 B
import type { ViteDevServer } from '../server'; interface SSRContext { global: typeof globalThis; } declare type SSRModule = Record<string, any>; export declare function ssrLoadModule(url: string, server: ViteDevServer, context?: SSRContext, urlStack?: string[]): Promise<SSRModule>; export {};