You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suggested by @thewtex , it would be cool to load a plugin directly from a ES Module URL which exports setup and run.
I guess in addition to setup and run, we will also need to export an config object containing the meta info of the plugin. For security reasons we should perhaps use a sandboxed iframe to import the module, then inspect what's the plugin type in config, and then decide whether we should leave it in the iframe or move to a web-worker.
The text was updated successfully, but these errors were encountered:
Suggested by @thewtex , it would be cool to load a plugin directly from a ES Module URL which exports
setup
andrun
.I guess in addition to
setup
andrun
, we will also need to export anconfig
object containing the meta info of the plugin. For security reasons we should perhaps use a sandboxed iframe to import the module, then inspect what's the plugin type inconfig
, and then decide whether we should leave it in the iframe or move to a web-worker.The text was updated successfully, but these errors were encountered: