@pumpkin-plugins/static-hermes-runtime API / hermes/prepare / HermesPreparationOptions
Interface: HermesPreparationOptions
Defined in: hermes/prepare.ts:18
Optional paths, environment, and setup hook for Hermes preparation.
Properties
environment?
optionalenvironment?:ProcessEnv
Defined in: hermes/prepare.ts:20
Environment used to select source, cache, and toolchain locations.
gcVariant?
optionalgcVariant?:HermesGcVariant
Defined in: hermes/prepare.ts:22
Garbage collector to compile; defaults to Hades.
packageRoot?
optionalpackageRoot?:string
Defined in: hermes/prepare.ts:24
Root of tools/static-hermes-runtime; defaults to this package's location.
setupEnvironment?
optionalsetupEnvironment?: (options) =>Promise<Record<string,string>>
Defined in: hermes/prepare.ts:26
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?
optionalworkspaceRoot?:string
Defined in: hermes/prepare.ts:32
Project root for caches; defaults to the nearest pnpm workspace, or the current directory if standalone.