From b223b41b2689be8ae6d44f4ee3ee736f1e435d2f Mon Sep 17 00:00:00 2001 From: Niels van Velzen Date: Sun, 29 Nov 2020 13:14:40 +0100 Subject: [PATCH] Pass plugin name to pluginManager.loadPlugin --- src/scripts/site.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/site.js b/src/scripts/site.js index 2ff4a04c91..30b47e8e4e 100644 --- a/src/scripts/site.js +++ b/src/scripts/site.js @@ -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');