See the general information on build configs.
Build configs are used in two different places: In the javascript code during runtime and in webpack during the build process.
For each build config there is a script in the package.json to ease the process of starting the packager:
yarn start:<build config name>
For the standard development build config integreat-test-cms
there is also the shortcut yarn start
.
To access the values of the build config import buildConfig.ts.
The build config is loaded by webpack during bundling and compiling the app.
It is then passed as __BUILD_CONFIG__
environment variable to the javascript code.