Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 717 Bytes

File metadata and controls

21 lines (13 loc) · 717 Bytes

@sdeverywhere/build / build

Function: build

build(mode, options): Promise<Result<BuildResult, Error>>

Initiate the build process, which can either be a single build if mode is 'production', or a live development environment if mode is 'development'.

Parameters

Name Type Description
mode BuildMode The build mode.
options BuildOptions The build options.

Returns

Promise<Result<BuildResult, Error>>

An ok result if the build completed, otherwise an err result.