Skip to content

@pumpkin-plugins/static-hermes-runtime API / hermes/prepare / HermesPreparationOptions

Interface: HermesPreparationOptions ​

Defined in: hermes/prepare.ts:13

Optional paths, environment, and setup hook for Hermes preparation.

Properties ​

environment? ​

optional environment?: ProcessEnv

Defined in: hermes/prepare.ts:15

Environment used to select source, cache, and toolchain locations.


gcVariant? ​

optional gcVariant?: HermesGcVariant

Defined in: hermes/prepare.ts:17

Garbage collector to compile; defaults to Hades.


packageRoot? ​

optional packageRoot?: string

Defined in: hermes/prepare.ts:19

Root of tools/static-hermes-runtime; defaults to this package's location.


setupEnvironment? ​

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

Defined in: hermes/prepare.ts:21

Optional setup hook for resolving the tools needed by Hermes preparation.

Parameters ​

options ​
env ​

ProcessEnv

includeWitBindgen ​

false

workspaceRoot ​

string

Returns ​

Promise<Record<string, string>>


workspaceRoot? ​

optional workspaceRoot?: string

Defined in: hermes/prepare.ts:27

Project root for caches; defaults to the nearest pnpm workspace, or the current directory if standalone.

pumpkin-plugins documentation