Namespace: lambdaedgeBuilder

Interfaces

Functions

init

init(config): void

Initialize standard service gulp tasks.

Parameters

Name Type Description
config BuilderConfig Builder configuration

Returns

void


joinGlobs

joinGlobs(root, ...patterns): string[]

Helper function for converting optionally defined singular glob or a list of glob patterns into an array with prepended root path.

Handles negative globs properly by moving the !-character to the beginning of the path.

Parameters

Name Type Description
root string Root path to prepend to glob patterns
...patterns (undefined | string | string[])[] String or strings to return as an array

Returns

string[]