Core API Overview > @adpt/core > buildOnce
buildOnce() function
Signature:
export declare function buildOnce(root: AdaptElement, styles: AdaptElement | null, options?: BuildOptions): Promise<BuildOutput>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| root | AdaptElement | |
| styles | AdaptElement | null | |
| options | BuildOptions |
Returns:
Promise<BuildOutput>