Build
The Build panel generates the project bundle used for publishing.
Output
On a successful build, Adamas Hub creates:
dist/index.js
inside the project directory.
Build Flow
When the user clicks Build Project, the editor:
- saves the current project to disk
- calls the native build command
- captures build output
- refreshes build information
- reports success or failure in the UI
Advanced Build Settings
The current build UI supports:
Source MapTree ShakingMinifyKeep NamesBundle RuntimeExternal Packages
External package names can be entered as comma-separated or newline-separated values.
Build Status
The panel reports one of four states:
idlebuildingsuccesserror
Users can also delete the generated build output from this panel.