@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?
optionalenvironment?:ProcessEnv
Defined in: hermes/prepare.ts:15
Environment used to select source, cache, and toolchain locations.
gcVariant?
optionalgcVariant?:HermesGcVariant
Defined in: hermes/prepare.ts:17
Garbage collector to compile; defaults to Hades.
packageRoot?
optionalpackageRoot?:string
Defined in: hermes/prepare.ts:19
Root of tools/static-hermes-runtime; defaults to this package's location.
setupEnvironment?
optionalsetupEnvironment?: (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?
optionalworkspaceRoot?:string
Defined in: hermes/prepare.ts:27
Project root for caches; defaults to the nearest pnpm workspace, or the current directory if standalone.