Просмотр исходного кода

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 лет назад
Родитель
Сommit
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',
     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