Skip to content

@pumpkin-plugins/static-hermes-runtime API / esbuild-plugin / StaticHermesImportsOptions

Interface: StaticHermesImportsOptions ​

Defined in: esbuild-plugin.ts:9

Options for resolving Pumpkin and WASI package imports while bundling for Static Hermes.

Properties ​

developmentMode? ​

optional developmentMode?: boolean

Defined in: esbuild-plugin.ts:14

Ignored. update-check skips its automatic check in development bundles through __PUMPKIN_DEV_MODE__.

Deprecated ​

Has no effect.


onWasiImport? ​

optional onWasiImport?: (specifier) => void

Defined in: esbuild-plugin.ts:16

Called for each resolved WASI import so the component build can select its adapters.

Parameters ​

specifier ​

string

Returns ​

void


resolveDir? ​

optional resolveDir?: string

Defined in: esbuild-plugin.ts:21

Ignored. It resolved the development update-check stub this plugin no longer provides.

Deprecated ​

Has no effect.


witDir ​

witDir: string

Defined in: esbuild-plugin.ts:23

Prepared WIT world used to resolve and generate Pumpkin and WASI interfaces.


workspaceRoot? ​

optional workspaceRoot?: string

Defined in: esbuild-plugin.ts:25

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

pumpkin-plugins documentation