Modules
-
@bb-cli/webpack-build :
Object
-
Lib for building frontend code for Backbase Architecture
Functions
-
build(items, items, output, plugins) ⇒
Promise.<Array.<BuiltItem>>
-
Build CXP items with webpack.
- theme()
-
buildConfig(items, items, output, plugins) ⇒
Object
-
Get a webpack config suitable for building Backbase items with webpack
Object
@bb-cli/webpack-build : Lib for building frontend code for Backbase Architecture
Example
import build { config } from '@bb-cli/webpack-build';
-
@bb-cli/webpack-build :
Object
-
~BuiltItem :
Object
-
~CXPItem :
Object
-
~BuiltItem :
Object
@bb-cli/webpack-build~BuiltItem : A object that describes an item that has been compiled.
Kind: inner typedef of @bb-cli/webpack-build
Extends: CXPItem
Properties
Name | Type | Description |
---|---|---|
distDir | string |
The path to the built code on the file system. |
Object
@bb-cli/webpack-build~CXPItem : An object that describes a catalog item in CXP Manager.
Kind: inner typedef of @bb-cli/webpack-build
Properties
Name | Type | Description |
---|---|---|
name | string |
The CXP item name. |
type | string |
The CXP item type. |
version | string |
The CXP item version. |
srcDir | string |
The path to the item's source on the file system. |
Promise.<Array.<BuiltItem>>
build(items, items, output, plugins) ⇒ Build CXP items with webpack.
Kind: global function
Since: 0.3.0
Param | Type | Description |
---|---|---|
items | Array.<CXPItem> |
Items to build |
items | Array.<CXPItem> |
Items that are already built (dependencies) |
output | string |
Path to build in (will be ${output}/${item.name}/...) |
plugins | Array.<string> |
List of node modules or files to load as config plugins. |
theme()
Object
buildConfig(items, items, output, plugins) ⇒ Get a webpack config suitable for building Backbase items with webpack
Kind: global function
Returns: Object
- config Webpack config
Since: 0.3.0
Param | Type | Description |
---|---|---|
items | Array.<CXPItem> |
Items to build |
items | Array.<CXPItem> |
Items that are already built (dependencies) |
output | string |
Path to build in (will be ${output}/${item.name}/...) |
plugins | Array.<string> |
List of node modules or files to load as config plugins. |