@pumpkin-plugins/static-hermes-runtime API / index / StaticHermesBuildOptions
Interface: StaticHermesBuildOptions
Defined in: index.ts:19
Inputs for compiling a bundled plugin as a Static Hermes WASI component.
Properties
apiMethods?
optionalapiMethods?:string[]
Defined in: index.ts:21
Pumpkin API operation identifiers for native dispatch; omission includes every declared operation.
bundle
bundle:
string
Defined in: index.ts:23
Path to the bundled JavaScript source or an opt-in TypeScript bundle.
developmentMode
developmentMode:
boolean
Defined in: index.ts:25
Whether to retain development symbols and Hermes source line information.
eventTypes?
optionaleventTypes?:string[]
Defined in: index.ts:27
Event variants referenced by static registrations; omission retains every event variant.
gcVariant?
optionalgcVariant?:HermesGcVariant
Defined in: index.ts:29
Garbage collector linked into the component; defaults to Hades.
output
output:
string
Defined in: index.ts:31
Destination path for the compiled component.
parseTypeScript?
optionalparseTypeScript?:boolean
Defined in: index.ts:33
Parse the bundle as TypeScript with Hermes's unstable TypeScript parser.
quietOutput?
optionalquietOutput?:boolean
Defined in: index.ts:35
Suppress runtime stdout while preserving stderr for a caller's shared formatter.
runtimeVariant?
optionalruntimeVariant?:StaticHermesRuntimeVariant
Defined in: index.ts:37
Hermes archive profile; defaults to the configured profile, usually lean.
wasiImports?
optionalwasiImports?:string[]
Defined in: index.ts:39
WASI interface specifiers requested by the plugin; defaults to no additional imports.
wasiMethods?
optionalwasiMethods?:string[]
Defined in: index.ts:41
WASI operation identifiers selected for native adapter generation.
witDir
witDir:
string
Defined in: index.ts:43
Path to the prepared WIT directory containing the plugin world.
workspaceRoot?
optionalworkspaceRoot?:string
Defined in: index.ts:45
Consumer project root used for runtime toolchain caches.