@kinvolk/headlamp-plugin
Version:
The needed infrastructure for building Headlamp plugins.
12 lines (11 loc) • 458 B
TypeScript
/**
* For discovering and executing plugins.
*
* Compared to loading plugins in script tags, doing it this way has some benefits:
*
* 1) We can more easily catch certain types of errors in execution. With a
* script tag we can not catch errors in the running scripts.
* 2) We can load the scripts into a context other than global/window. This
* means that plugins do not pollute the global namespace.
*/
export default function Plugins(): null;