Skip to main content

@flow-state-dev/shift-manager

Functions​

getAssetPath()​

function getAssetPath(): string;

The directory of Shift Manager's built pages (index.html and its assets).

Returns​

string

Throws​

When the pages are not built: a checkout that hasn't run pnpm --filter @flow-state-dev/shift-manager build.


getSourceRoot()​

function getSourceRoot(): string | undefined;

The folder holding the pages' source index.html, which fsdev dev --watch serves through Vite. undefined in an install, which ships built pages only.

Returns​

string | undefined