[Go to site: main page, start]

API.md

@lazarv/react-server/build

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

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