@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 applicationoptions— Options for the build, same as the options for the react-server CLI command