From b08b95fcdbc943da55d062eabacf9b2ba9d6d7a1 Mon Sep 17 00:00:00 2001 From: Lorenzo Natali Date: Tue, 13 Dec 2022 13:10:39 +0100 Subject: [PATCH] #573 Made BackgroundSelector not modular (#578) --- js/plugins.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/js/plugins.js b/js/plugins.js index a3adcd861..5f95d455c 100644 --- a/js/plugins.js +++ b/js/plugins.js @@ -12,10 +12,11 @@ import NotAllowedPlugin from "@js/plugins/NotAllowed"; import HeaderPlugin from "@js/plugins/Header"; import UserSessionPlugin from "@js/plugins/UserSession"; import VersionPlugin from "@js/plugins/Version"; - +import BackgroundSelectorPlugin from '@mapstore/plugins/BackgroundSelector'; const exclude = [ "AboutPlugin", "AttributionPlugin", "FooterPlugin", "ForkPlugin", - "HomeDescriptionPlugin", "MadeWithLovePlugin", "MapTypePlugin", "NavMenuPlugin" + "HomeDescriptionPlugin", "MadeWithLovePlugin", "MapTypePlugin", "NavMenuPlugin", + "BackgroundSelectorPlugin" ]; /** @@ -30,7 +31,8 @@ export default { NotAllowedPlugin, HeaderPlugin, UserSessionPlugin, - VersionPlugin + VersionPlugin, + BackgroundSelectorPlugin // This is not lazy loaded because of this issue. https://github.com/georchestra/mapstore2-georchestra/issues/573 }, requires: productPlugins.requires };