Files
grafana/public/app/features/plugins/sandbox/plugin_dependencies.ts
Jack Westbrook 892a50a3b7 Performance: Load shared frontend plugin dependencies on demand (#87644)
* feat(plugins): only load shared plugin dependencies when needed

* feat(plugins): add react-redux and fix up comments

* feat(plugins): attempt to load async deps in fe sandbox

* feat(frontend): defer script execution to prevent systemjs from loading app.js
2024-08-27 15:10:26 +02:00

6 lines
227 B
TypeScript

/**
* Map with all dependencies that are exposed to plugins sandbox
* e.g.: @grafana/ui, @grafana/data, etc...
*/
export const sandboxPluginDependencies = new Map<string, System.Module | (() => Promise<System.Module>)>([]);