src/gui/doc/utils.md
This file is responsible for:
Runs the full GUI build process.
Steps it performs:
/dist folderdist/libs.jssrc/icons/*.svg/png to base64 → stores in window.iconsdist/bundle.min.csssrc/index.js and dependencies → dist/main.jswindow.gui_env = "prod" and writes it as dist/gui.jsDynamically builds the HTML string for development mode.
What it includes:
/index.js) or prod (/dist/gui.js)| File | Role |
|---|---|
build.js | Just imports and calls build() |
BaseConfig.cjs | Provides Webpack config used in build |
static-assets.js | Lists paths to JS, CSS, icons, etc |