UNPKG

astro

Version:

Astro is a modern site builder with web best practices, performance, and DX front-of-mind.

18 lines (17 loc) 730 B
import type { AstroInlineConfig } from '../../types/public/config.js'; export interface BuildOptions { /** * Output a development-based build similar to code transformed in `astro dev`. This * can be useful to test build-only issues with additional debugging information included. * * @default false */ devOutput?: boolean; } /** * Builds your site for deployment. By default, this will generate static files and place them in a dist/ directory. * If SSR is enabled, this will generate the necessary server files to serve your site. * * @experimental The JavaScript API is experimental */ export default function build(inlineConfig: AstroInlineConfig, options?: BuildOptions): Promise<void>;