Skip to main content

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 Map
  • Tree Shaking
  • Minify
  • Keep Names
  • Bundle Runtime
  • External Packages

External package names can be entered as comma-separated or newline-separated values.

Build Status

The panel reports one of four states:

  • idle
  • building
  • success
  • error

Users can also delete the generated build output from this panel.