Skip to content

@pumpkin-plugins/static-hermes-runtime API / hermes/toolchain-environment / StaticHermesBuildPreparationOptions

Interface: StaticHermesBuildPreparationOptions ​

Defined in: hermes/toolchain-environment.ts:111

Setup and preparation hooks used before a component build.

Properties ​

env? ​

optional env?: ProcessEnv

Defined in: hermes/toolchain-environment.ts:113

Environment used to select toolchain paths.


prepare? ​

optional prepare?: () => unknown

Defined in: hermes/toolchain-environment.ts:115

Optional callback that prepares Hermes build artifacts.

Returns ​

unknown


setupEnvironment? ​

optional setupEnvironment?: (options) => Promise<Record<string, string>>

Defined in: hermes/toolchain-environment.ts:117

Optional toolchain setup implementation.

Parameters ​

options ​

HermesToolchainSetupOptions

Returns ​

Promise<Record<string, string>>


workspaceRoot ​

workspaceRoot: string

Defined in: hermes/toolchain-environment.ts:119

Root of the pumpkin-plugins workspace.

pumpkin-plugins documentation