Pass plugin name to pluginManager.loadPlugin

This commit is contained in:
Niels van Velzen 2020-11-29 13:14:40 +01:00 committed by GitHub
parent 0a09062ad4
commit b223b41b26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -137,7 +137,7 @@ function loadPlugins() {
}
Promise.all(list.map((plugin) => {
return pluginManager.loadPlugin(import(/* webpackChunkName: "[request]" */ `../plugins/${plugin}`));
return pluginManager.loadPlugin(plugin);
}))
.then(function () {
console.debug('finished loading plugins');