grafana/runtime: Expose SystemJS from @grafana/runtime (#17927)

In 4281344 the loadPluginCss util was migrated to @grafana/runtime package. This made SystemJS to fail loading the css files for a plugin. Root cause was that core and runtime used different SystemJS instances.

To solve the issue, I am exposing SystemJS from @grafana/runtime package to make sure we are always using the same instance. Also, the SystemJS dependency was moved to runtime.
This commit is contained in:
Dominik Prokop
2019-07-04 13:32:09 +02:00
committed by GitHub
parent 19ae5351fb
commit cf37b5439f
6 changed files with 22 additions and 23 deletions

View File

@@ -16,7 +16,10 @@
},
"author": "Grafana Labs",
"license": "Apache-2.0",
"dependencies": {},
"dependencies": {
"systemjs": "0.20.19",
"systemjs-plugin-css": "0.1.37"
},
"devDependencies": {
"@types/systemjs": "^0.20.6",
"awesome-typescript-loader": "^5.2.1",