text: const path = require("path");
  
  const themeEntries = require('./MapStore2/build/themes.js').themeEntries;
  const extractThemesPlugin = require('./MapStore2/build/themes.js').extractThemesPlugin;
  const ModuleFederationPlugin = require('./MapStore2/build/moduleFederation').plugin;
  
  module.exports = require('./MapStore2/build/buildConfig')(
      {
          'MapStoreDevPlugin': path.join(__dirname, "js", "app"),
          'MapStoreDevPlugin-embedded': path.join(__dirname, "js", "embedded"),
          'MapStoreDevPlugin-api': path.join(__dirname, "MapStore2", "web", "client", "product", "api"),
          'geostory-embedded': path.join(__dirname, "js", "geostoryEmbedded"),
          "dashboard-embedded": path.join(__dirname, "js", "dashboardEmbedded")
      },
      themeEntries,
      {
          base: __dirname,
          dist: path.join(__dirname, "dist"),
          framework: path.join(__dirname, "MapStore2", "web", "client"),
          code: [path.join(__dirname, "js"), path.join(__dirname, "MapStore2", "web", "client")]
      },
      [extractThemesPlugin, ModuleFederationPlugin],
      false,
      undefined,
      '.MapStoreDevPlugin',
      [],
      {
          "@mapstore/patcher": path.resolve(__dirname, "node_modules", "@mapstore", "patcher"),
          "@mapstore": path.resolve(__dirname, "MapStore2", "web", "client"),
          "@js": path.resolve(__dirname, "js")
      }
  );
  