Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

484 B
Raw Blame
// @ts-check
/* eslint-env node */
/* eslint-disable import/no-commonjs */

const configs = [require("./rspack.main.config")];

if (process.env.SKIP_EMBEDDING_SDK !== "true") {
  // Build the embed.js script for the sdk iframe embedding
  configs.push(require("./rspack.iframe-sdk-embed.config"));

  if (process.env.MB_EDITION === "ee") {
    // Build the Embedding SDK npm package.
    configs.push(require("./rspack.embedding-sdk-bundle.config"));
  }
}

module.exports = configs;