Skip to content

BuildProfileConfig

PromptScript API


Defined in: core/src/types/config.ts:251

Named build profile for compiling a specific entry point to specific outputs.

Properties

enabled?

optional enabled?: boolean

Defined in: core/src/types/config.ts:263

Set to false to drop the profile, for example one inherited through extends. A dropped profile is removed when the config is loaded.

Default

true

entry?

optional entry?: string

Defined in: core/src/types/config.ts:253

Entry file path for this build profile


output?

optional output?: string

Defined in: core/src/types/config.ts:255

Output directory for this build profile


targets?

optional targets?: TargetEntry[]

Defined in: core/src/types/config.ts:257

Target list for this build profile