Skip to content

@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? ​

optional apiMethods?: 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? ​

optional eventTypes?: string[]

Defined in: index.ts:27

Event variants referenced by static registrations; omission retains every event variant.


gcVariant? ​

optional gcVariant?: 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? ​

optional parseTypeScript?: boolean

Defined in: index.ts:33

Parse the bundle as TypeScript with Hermes's unstable TypeScript parser.


quietOutput? ​

optional quietOutput?: boolean

Defined in: index.ts:35

Suppress runtime stdout while preserving stderr for a caller's shared formatter.


runtimeVariant? ​

optional runtimeVariant?: StaticHermesRuntimeVariant

Defined in: index.ts:37

Hermes archive profile; defaults to the configured profile, usually lean.


wasiImports? ​

optional wasiImports?: string[]

Defined in: index.ts:39

WASI interface specifiers requested by the plugin; defaults to no additional imports.


wasiMethods? ​

optional wasiMethods?: 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? ​

optional workspaceRoot?: string

Defined in: index.ts:45

Consumer project root used for runtime toolchain caches.

pumpkin-plugins documentation