Skip to content

@pumpkin-plugins/static-hermes-runtime API / hermes/toolchain-environment / prepareStaticHermesBuild

Function: prepareStaticHermesBuild() ​

prepareStaticHermesBuild(options): Promise<void>

Defined in: hermes/toolchain-environment.ts:227

Set up Hermes dependencies and prepare the pinned runtime before a component build.

Parameters ​

options ​

StaticHermesBuildPreparationOptions

Workspace environment and optional setup and preparation hooks.

Returns ​

Promise<void>

Remarks ​

This helper also selects wasm-tools for WIT resolution and skips repeated preparation when the environment already has PUMPKIN_PLUGINS_STATIC_HERMES_PREPARED=1.

pumpkin-plugins documentation