NAME
bb-build - Compile from sources
SYNOPSIS
bb-build [--help] [-v|--version]
bb-build project [--help] [-o|--output <path>] [--prebuilt <paths>]
[-x --exclude <node-glob>] [-b|--build-plugins <plugins>] [-f|--format <format>] [source]
OPTIONS
Option | Description |
---|---|
-v, --version | output the version number |
--help | Output usage information |
COMMANDS
NAME
bb-build project
SYNOPSIS
bb-build project [--help] [-o|--output <path>] [--prebuilt <paths>]
[-x --exclude <node-glob>] [-b|--build-plugins <plugins>] [-f|--format <format>] [source]
DESCRIPTION
Build all source items.
This command works the same as "bb-package project" except that it won't create a provision package. It will create a dist/ directory with a sub-directory for each item that has been built.
This is useful if you want to do something other than import these items to a CXP portal (eg: publish each item to NPM).
OPTIONS
Option | Description |
---|---|
-o, --output <path> | Destination output path. |
--prebuilt <paths> | Comma separated paths to prebuilt items (items that don't require a webpack build). These will be merged with the defaults (see DESCRIPTION) |
-x --exclude <node-glob> | |
-b, --build-plugins <plugins> | Comma separated path/node modules to use for building |
-f, --format <format> | Output format (supported options: json) |
--help | Output usage information |
WARNING
Warning: Usually you should use bb-package, not bb-build. See (https://www.npmjs.com/package/@bb-cli/bb-package)
EXAMPLE
bb-build project
ENVIRONMENT VARIABLES
Set the amount of log output
LOG_LEVEL=silly|verbose|info|warn|error
Set whether or not to use colors in output
COLOR=false|true