소스 검색

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