[]previous and next page

staticPaths

The paths the edge function leaves to the platform.

The paths the edge function leaves to the platform. Edge functions run before static files (a function with preferStatic is the other target), so the build folders and the public/ files are excluded by name; pages stay with the function.

Import#

ts
import { staticPaths } from "@shadow-js/dusk/netlify";

Signature#

ts
function staticPaths(context: {
  readonly manifest: DuskManifest;
  readonly clientDir: string;
}): string[]