mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Fix: Provide default angular export for plugins (#75424)
fix(plugins): provide default export of angular for old system.register plugins
This commit is contained in:
parent
95889b2e25
commit
8affc84d13
@ -25,7 +25,10 @@ import { registerComponents } from './registerComponents';
|
|||||||
|
|
||||||
// Angular plugin dependencies map
|
// Angular plugin dependencies map
|
||||||
const importMap = {
|
const importMap = {
|
||||||
angular: angular,
|
angular: {
|
||||||
|
...angular,
|
||||||
|
default: angular,
|
||||||
|
},
|
||||||
'app/core/core_module': {
|
'app/core/core_module': {
|
||||||
default: coreModule,
|
default: coreModule,
|
||||||
__useDefault: true,
|
__useDefault: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user