Skip to content

Kiln API / kiln / plugin

Function: plugin() ​

ts
function plugin(build, name?): Plugin;

Defines a plugin. It may be async (e.g. to init WASM); app.ready() waits for it and scenario() does so for you.

Parameters ​

ParameterType
build(app) => void | Promise<void>
name?string

Returns ​

Plugin