@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?
optionaldevelopmentMode?:boolean
Defined in: esbuild-plugin.ts:11
Excludes automatic update checks from development bundles.
onWasiImport?
optionalonWasiImport?: (specifier) =>void
Defined in: esbuild-plugin.ts:13
Called for each resolved WASI import so the component build can select its adapters.
Parameters
specifier
string
Returns
void
resolveDir
resolveDir:
string
Defined in: esbuild-plugin.ts:15
Directory used to resolve the development update-check module.
witDir
witDir:
string
Defined in: esbuild-plugin.ts:17
Prepared WIT world used to resolve and generate Pumpkin and WASI interfaces.
workspaceRoot?
optionalworkspaceRoot?:string
Defined in: esbuild-plugin.ts:19
Consumer project directory used to find the nearest pnpm workspace root for runtime toolchain caches.