Skip to content

@pumpkin-plugins/build API / plugin-config / PluginBuildConfig

Type Alias: PluginBuildConfig ​

PluginBuildConfig = PluginBuildFields & { engine: "quickjs"; } | { engine: "static-hermes"; staticHermesGc: StaticHermesGc; staticHermesRuntime?: StaticHermesRuntime; }

Defined in: tools/build/src/plugin-config.ts:31

What a package declares under pumpkinPlugin in its package.json, with defaults applied. The engine defaults to Static Hermes, and a Static Hermes build defaults to the Hades garbage collector. The runtime profile has no default here because the build also reads it from the environment.

pumpkin-plugins documentation