TypeScript API / @laikacms/vite-plugin / writeChunk
Function: writeChunk()
ts
function writeChunk(
root,
id,
body
): Promise<boolean>;Write the chunk for id. Returns true when the file changed.
Parameters
| Parameter | Type |
|---|---|
root | string |
id | LaikaId |
body | string |
Returns
Promise<boolean>