@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
Omit<ComponentBuildOptions,"wasiImports"|"wit">
Properties
apiMethods?
optionalapiMethods?: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
developmentMode
developmentMode:
boolean
Defined in: component/types.ts:10
Whether to retain development symbols and Hermes source line information.
Inherited from
ComponentBuildOptions.developmentMode
eventTypes?
optionaleventTypes?:string[]
Defined in: component/types.ts:12
Event variants referenced by static registrations; omission includes every declared variant.
Inherited from
ComponentBuildOptions.eventTypes
gcVariant?
optionalgcVariant?: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
parseTypeScript?
optionalparseTypeScript?:boolean
Defined in: component/types.ts:18
Parse the bundle as TypeScript with Hermes's unstable TypeScript parser.
Inherited from
ComponentBuildOptions.parseTypeScript
quietOutput?
optionalquietOutput?:boolean
Defined in: index.ts:22
Suppress runtime stdout while preserving stderr for a caller's shared formatter.
runtimeVariant?
optionalruntimeVariant?:"full"|"lean"
Defined in: component/types.ts:20
Hermes archive profile; omitted to use the configured default.
Inherited from
ComponentBuildOptions.runtimeVariant
wasiImports?
optionalwasiImports?:string[]
Defined in: index.ts:24
WASI interface specifiers requested by the plugin; defaults to no additional imports.
wasiMethods?
optionalwasiMethods?: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?
optionalworkspaceRoot?:string
Defined in: component/types.ts:28
Consumer project directory used to find the nearest pnpm workspace root for runtime caches.