( c: RenderContainer, plugin: Plugin, )
| 20 | } |
| 21 | |
| 22 | async function registerPluginService( |
| 23 | c: RenderContainer, |
| 24 | plugin: Plugin, |
| 25 | ): Promise<RenderContainer> { |
| 26 | const script = await blobToBase64(plugin.script) |
| 27 | // grep 2D96EE4E-61BA-4FCA-93C1-863C80E10A93 |
| 28 | const exports = (await import(/* @vite-ignore */ script)) as { |
| 29 | default: RenderPluginExports |
| 30 | } |
| 31 | return getC(c, exports.default) |
| 32 | } |
| 33 | |
| 34 | function getC( |
| 35 | c: RenderContainer, |
no test coverage detected