Skip to content

Build variants

A. Malthe Henriksen edited this page Jan 19, 2024 · 3 revisions

Selecting variant

The first step of the build process is selecting which build variant should be built.

  • simple (Branded, but reduced feature-set)
  • unbranded (No branding and without colors)
  • branded (Branded full-feature version)

These build variants are configured in prepEnv.js. This script can be used to switch between configurations

node prepEnv.js branded

will switch colors and feature-set according to the configuration found in the folder src/__viteBuildVariants__/ml-machine/. The script will then copy these files and place them into the root directory.

Clone this wiki locally