UNPKG

@inlang/paraglide-js

Version:

[![Inlang-ecosystem compatibility badge](https://cdn.jsdelivr.net/gh/opral/monorepo@main/inlang/assets/md-badges/inlang.svg)](https://inlang.com)

21 lines 673 B
import { type CompilerOptions } from "./compiler-options.js"; export type CompilationResult = { outputHashes: Record<string, string> | undefined; }; /** * Loads, compiles, and writes the output to disk. * * This is the main function to use when you want to compile a project. * If you want to adjust inlang project loading, or the output, use * `compileProject()` instead. * * @example * await compile({ * project: 'path/to/project', * outdir: 'path/to/output', * }) */ export declare function compile(options: CompilerOptions & { previousCompilation?: CompilationResult; }): Promise<CompilationResult>; //# sourceMappingURL=compile.d.ts.map