Skip to content

@pumpkin-plugins/build API / bundle / BundleOptions

Interface: BundleOptions ​

Defined in: tools/build/src/bundle.ts:10

Inputs to bundlePlugin.

Properties ​

developmentMode? ​

optional developmentMode?: boolean

Defined in: tools/build/src/bundle.ts:20

Whether this is a development build.


entry ​

entry: string

Defined in: tools/build/src/bundle.ts:12

Source file to bundle.


output ​

output: string

Defined in: tools/build/src/bundle.ts:14

Where to write the .wasm.


version ​

version: string

Defined in: tools/build/src/bundle.ts:18

Injected as __PLUGIN_VERSION__.


witDir ​

witDir: string

Defined in: tools/build/src/bundle.ts:16

The WIT the component is built against.

Pumpkin Plugins documentation