Skip to content

Commit

Permalink
#573 Made BackgroundSelector not modular (#578)
Browse files Browse the repository at this point in the history
  • Loading branch information
offtherailz authored Dec 13, 2022
1 parent 6eb4246 commit b08b95f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions js/plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"
];

/**
Expand All @@ -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
};

0 comments on commit b08b95f

Please sign in to comment.