Global Exports
Last updated
Was this helpful?
Last updated
Was this helpful?
Added in Bit 2025.2, plugins can now define global exports that can be run within other plugins.
All you need is an index.js file within your main plugin directory, and different functions within your module.exports.
Example
This can then be imported and used according to the example below
This feature should be VERY useful for plugin developers who want to interact with other plugins.
WARNING: This feature is EXPERIMENTAL.
Please exercise caution when using this feature!