Function: build()
August 11, 2026 ยท View on GitHub
@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
| Parameter | 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.