Skip to content

Intermact API Reference / @intermact/core / BuildOptions

Interface: BuildOptions

Defined in: packages/core/src/program/build.ts:31

Options for running the build pass.

Properties

fetchBinary?

readonly optional fetchBinary?: BinaryAssetFetcher

Defined in: packages/core/src/program/build.ts:37

Resolve binary font assets during the build pass.


fetcher?

readonly optional fetcher?: AssetFetcher

Defined in: packages/core/src/program/build.ts:35

Resolve text assets (SVG, JSON) during the build pass.


registries?

readonly optional registries?: Registries

Defined in: packages/core/src/program/build.ts:44

Extension registries to resolve custom objects/animations/generators/ backends against (design.md §18, §22.8). Defaults to globalRegistries. Pass an explicit createRegistries bundle for isolated plugin sets (multiple programs, parallel tests) instead of relying on process-global state.


seed?

readonly optional seed?: string | number

Defined in: packages/core/src/program/build.ts:33

Seed for the program's RNG (default 0); same seed ⇒ same output.

Intermact v1.0 — 文档覆盖 Phase-1 / Phase-2 / Phase-3(全阶段)