astro
Version:
Astro is a modern site builder with web best practices, performance, and DX front-of-mind.
13 lines (12 loc) • 566 B
JavaScript
import { default as _sync } from "./sync/index.js";
export { default as build } from "./build/index.js";
export { default as dev } from "./dev/index.js";
export { default as preview } from "./preview/index.js";
/**
* Generates TypeScript types for all Astro modules. This sets up a `src/env.d.ts` file for type inferencing,
* and defines the `astro:content` module for the Content Collections API.
*
* @experimental The JavaScript API is experimental
*/
// Wrap `_sync` to prevent exposing internal options
export const sync = (inlineConfig) => _sync(inlineConfig);