# `@lazarv/react-server/build`

Programmatic build entry point. Equivalent to the `react-server build` CLI command — useful for custom build pipelines.

## Functions

### `build`

```ts
function build(root: string, options: any): Promise<void>;
```

Builds a

**Parameters**

- `root` — Entry point of the React application
- `options` — Options for the build, same as the options for the react-server CLI command
