2.3.1 • Published 6 years ago

@bb-cli/bb-build v2.3.1

Weekly downloads
36
License
SEE LICENSE IN LI...
Repository
-
Last release
6 years ago

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

OptionDescription
-v, --versionoutput the version number
--helpOutput 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

OptionDescription
-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)
--helpOutput 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
2.3.1

6 years ago

2.3.0

6 years ago

2.2.1

7 years ago

2.2.0

7 years ago

2.1.0

7 years ago

2.0.2-pr.0

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago