Build

Builds a component (or all the project’s components) with the configured compiler (in bit.json file).

Synopsis

bit build [-v|--verbose] [-c|--no-cache] [id]

Examples

Build a single component by specifying a component id:

bit build foo/bar

Build all components by not specifying a component id:

bit build

Options

-v, —verbose

Shows npm verbose output for inspection.

bit build foo/bar --verbose

-c, —no-cache

Ignore component dist cache when building component

bit build --no-cache
  • cli add
  • cli checkout