Skip to content

@pumpkin-plugins/static-hermes-runtime API / index / StaticHermesBuildOptions

Interface: StaticHermesBuildOptions ​

Defined in: index.ts:20

Inputs for compiling a bundled plugin as a Static Hermes WASI component.

Extends ​

Properties ​

apiMethods? ​

optional apiMethods?: string[]

Defined in: component/types.ts:6

Pumpkin API operation identifiers for native dispatch; omission includes every declared operation.

Inherited from ​

ComponentBuildOptions.apiMethods


bundle ​

bundle: string

Defined in: component/types.ts:8

Path to the bundled JavaScript source or an opt-in TypeScript bundle.

Inherited from ​

ComponentBuildOptions.bundle


developmentMode ​

developmentMode: boolean

Defined in: component/types.ts:10

Whether to retain development symbols and Hermes source line information.

Inherited from ​

ComponentBuildOptions.developmentMode


eventTypes? ​

optional eventTypes?: string[]

Defined in: component/types.ts:12

Event variants referenced by static registrations; omission includes every declared variant.

Inherited from ​

ComponentBuildOptions.eventTypes


gcVariant? ​

optional gcVariant?: HermesGcVariant

Defined in: component/types.ts:14

Garbage collector linked into the component; omitted to use Hades.

Inherited from ​

ComponentBuildOptions.gcVariant


output ​

output: string

Defined in: component/types.ts:16

Destination path for the compiled component.

Inherited from ​

ComponentBuildOptions.output


parseTypeScript? ​

optional parseTypeScript?: boolean

Defined in: component/types.ts:18

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

Inherited from ​

ComponentBuildOptions.parseTypeScript


quietOutput? ​

optional quietOutput?: boolean

Defined in: index.ts:22

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


runtimeVariant? ​

optional runtimeVariant?: "full" | "lean"

Defined in: component/types.ts:20

Hermes archive profile; omitted to use the configured default.

Inherited from ​

ComponentBuildOptions.runtimeVariant


wasiImports? ​

optional wasiImports?: string[]

Defined in: index.ts:24

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


wasiMethods? ​

optional wasiMethods?: string[]

Defined in: component/types.ts:24

Optional WASI operation identifiers used to select native adapters.

Inherited from ​

ComponentBuildOptions.wasiMethods


witDir ​

witDir: string

Defined in: index.ts:26

Path to the prepared WIT directory containing the plugin world.


workspaceRoot? ​

optional workspaceRoot?: string

Defined in: component/types.ts:28

Consumer project directory used to find the nearest pnpm workspace root for runtime caches.

Inherited from ​

ComponentBuildOptions.workspaceRoot

pumpkin-plugins documentation