Skip to main content

Type Alias: CompileOptions

CompileOptions = ExecutableOptions & AppConfig

Defined in: cli/compile.ts:139

Options for compiling a GoatDB application into a standalone executable.

This combines executable build options with application configuration.

Example

await compile({
serverEntry: "./server/main.ts",
outputName: "my-app",
os: "linux",
arch: "x64",
// App config options
htmlPath: "./public/index.html",
jsPath: "./client/index.tsx",
buildDir: "./build"
});