astro
Version:
Astro is a modern site builder with web best practices, performance, and DX front-of-mind.
13 lines (12 loc) • 552 B
TypeScript
import type { Rolldown } from 'vite';
import { type CompileProps, type CompileResult } from '../core/compile/index.js';
import type { CompileMetadata } from './types.js';
interface CompileAstroOption {
compileProps: CompileProps;
astroFileToCompileMetadata: Map<string, CompileMetadata>;
}
export interface CompileAstroResult extends Omit<CompileResult, 'map'> {
map: Rolldown.SourceMapInput;
}
export declare function compileAstro({ compileProps, astroFileToCompileMetadata, }: CompileAstroOption): Promise<CompileAstroResult>;
export {};