Interface: BuilderConfig

lambdaedgeBuilder.BuilderConfig

Service builder configuration.

Properties

build

Optional build: string

Intermediate build directory for resources that require multiple build steps. Defaults to build if not provided.


config

config: Config

Project configuration loaded from *.project.


dist

Optional dist: string

Destination path for final bundle. Defaults to dist if not provided.


entry

entry: string | string[]

Handler entrypoints.

The file lookup happens from the intermediate build directory where the TypeScript files are compiled to.


gulp

gulp: Gulp

The gulp instance from the project’s gulpfile.


src

Optional src: string

Source root path, ie. the base for all relative paths. Defaults to src if not provided.


templates

templates: string | string[]

Serverless templates to build.

The glob patterns here match against the original files in the src directory.


webpack

Optional webpack: Partial<WebpackConfig>

Webpack options to override built-in builder Webpack options. The options are deep merged with the default ones.