mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
pluginloader: esModule true for systemjs config
Supports importing a module's contents with the '* as module' syntax. The latest version of SystemJS turns it off per default which broke several plugins.
This commit is contained in:
parent
74e90d01ec
commit
7cbb4020e9
@ -38,6 +38,9 @@ System.config({
|
|||||||
text: 'vendor/plugin-text/text.js',
|
text: 'vendor/plugin-text/text.js',
|
||||||
css: 'vendor/plugin-css/css.js'
|
css: 'vendor/plugin-css/css.js'
|
||||||
},
|
},
|
||||||
|
meta: {
|
||||||
|
'*': {esModule: true}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// add cache busting
|
// add cache busting
|
||||||
|
Loading…
Reference in New Issue
Block a user