浏览代码

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.
Daniel Lee 8 年之前
父节点
当前提交
7cbb4020e9
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      public/app/features/plugins/plugin_loader.ts

+ 3 - 0
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