From e5474511d8838a257648e3da9b06f31681332cea Mon Sep 17 00:00:00 2001 From: Jack Westbrook Date: Fri, 21 Jun 2024 11:35:02 +0200 Subject: [PATCH] Plugins: Introduce magic modules to fe sandbox loader (#89274) * feat(fe-sandbox): introduce module and exports magic modules to executed plugin code * refactor(fe-sandbox): rename module and exports vars for clarity --- .../plugins/sandbox/sandbox_plugin_loader.ts | 34 +++++++++++++++++-- 1 file changed, 31 insertions(+), 3 deletions(-) diff --git a/public/app/features/plugins/sandbox/sandbox_plugin_loader.ts b/public/app/features/plugins/sandbox/sandbox_plugin_loader.ts index dc0b26dc2c0..c3c278cb5bf 100644 --- a/public/app/features/plugins/sandbox/sandbox_plugin_loader.ts +++ b/public/app/features/plugins/sandbox/sandbox_plugin_loader.ts @@ -162,7 +162,7 @@ async function doImportPluginModuleInSandbox(meta: SandboxPluginMeta): Promise