Skip to content

CBuildOptions

Defined in: build.ts:59

readonly optional assets?: Promise<CBuildAssets>

Defined in: build.ts:72

The artefacts being warmed ahead. A boot waits for the promise to settle and uses each asset it resolves with in place of that artefact’s own load. The warm-up is only an accelerator: a rejected promise never fails a boot, the build loads the artefacts itself instead. An explicit postgresWasmModule, initdbWasmModule or fsBundle wins over the same asset.


readonly optional fsBundle?: Blob | Promise<Blob>

Defined in: build.ts:65

The filesystem bundle, fetched ahead.


readonly optional initdbWasmModule?: Module | Promise<Module>

Defined in: build.ts:63

The initdb module, compiled ahead; used only when a data directory is created.


readonly optional postgresWasmModule?: Module | Promise<Module>

Defined in: build.ts:61

The Postgres module, compiled ahead (e.g. on an earlier screen).