Skip to content

@pumpkin-plugins/build API / wit-method-usage / WitMethodUsageOptions

Interface: WitMethodUsageOptions ​

Defined in: tools/build/src/wit-method-usage.ts:23

Files to analyze for WIT operation usage.

Properties ​

entry ​

entry: string

Defined in: tools/build/src/wit-method-usage.ts:25

Plugin entry file. Its nearest tsconfig.json supplies the compiler options.


inputs ​

inputs: readonly string[]

Defined in: tools/build/src/wit-method-usage.ts:27

Absolute paths of the files esbuild bundled, from the build's metafile inputs.


typesDir? ​

optional typesDir?: string

Defined in: tools/build/src/wit-method-usage.ts:29

Directory of generated declaration files for the plugin's WIT imports.


witDir? ​

optional witDir?: string

Defined in: tools/build/src/wit-method-usage.ts:31

WIT the declarations were generated from, used to map jco's camelCase names back to WIT names.

pumpkin-plugins documentation