TypeScript API / @laikacms/vite-plugin / chunkSpecifier
Function: chunkSpecifier()
ts
function chunkSpecifier(id): string;The specifier the generated module imports the chunk by. Root-relative, which Vite resolves against the project root in both dev and build — a virtual module has no directory to resolve a relative path from.
Parameters
| Parameter | Type |
|---|---|
id | LaikaId |
Returns
string