BUILDNANAPlugin<T>(k: BUILDNANACtx ): T | (args: any )=>(k: BUILDNANACtx )=>T
A plugin for BUILDNANA.
// a plugin that adds a new function to BUILDNANA
const myPlugin = (k) => ({
myFunc: () => {
k.debug.log("hello from my plugin")
}
})
// use the plugin
buildnana({
plugins: [ myPlugin ]
})
// now you can use the new function
myFunc()
groupPlugins