This removes the custom build process for Canvas plugins. Canvas plugins are now regular Kibana plugins. They can register server-side functions like so: ```js server.plugins.interpreter.register({ serverFunctions: [yourFunctionsHere], }); ``` And client-side functions need to be included in `uiExports.canvas`, then they need to register themselves like so: ```js // kbnInterpreter is a global, sadly, but it makes registration simple kbnInterpreter.register({ elements: [yourElementsHere], browserFunctions: [yourFnsHere], }); ``` |
||
---|---|---|
.. | ||
common | ||
public | ||
scripts | ||
server | ||
src | ||
tasks/build | ||
.babelrc | ||
.npmignore | ||
package.json |