vite
Version:
Native-ESM powered web dev build tool
8 lines (7 loc) • 347 B
TypeScript
import type { ResolvedConfig } from '..';
/**
* Heuristics for determining whether a dependency should be externalized for
* server-side rendering.
*/
export declare function resolveSSRExternal(config: ResolvedConfig, knownImports: string[]): string[];
export declare function shouldExternalizeForSSR(id: string, externals: string[]): boolean;