From 7cbb4020e97032c3bcf37ef303d87a77de6decc0 Mon Sep 17 00:00:00 2001 From: Daniel Lee Date: Wed, 18 Oct 2017 11:15:46 +0200 Subject: [PATCH] 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. --- public/app/features/plugins/plugin_loader.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/app/features/plugins/plugin_loader.ts b/public/app/features/plugins/plugin_loader.ts index 2c04ce7c72c..99f9783aeca 100644 --- a/public/app/features/plugins/plugin_loader.ts +++ b/public/app/features/plugins/plugin_loader.ts @@ -38,6 +38,9 @@ System.config({ text: 'vendor/plugin-text/text.js', css: 'vendor/plugin-css/css.js' }, + meta: { + '*': {esModule: true} + } }); // add cache busting