[]previous and next page

@shadow-js/dusk/static

The 12 exports of @shadow-js/dusk/static: 4 functions, 1 class, 6 interfaces and 1 const.

Everything @shadow-js/dusk/static exports, from the TSDoc of its entry point.

Functions#

  • internalLinks: The app paths the links of a page lead to, sorted and unique.
  • outputFileFor: Maps a URL path to the file it is written to, relative to the output directory.
  • prerender: Renders pages to static files with the production handler.
  • staticSite: The static-site adapter.

Classes#

  • PrerenderError: Thrown for a path that cannot be rendered to a file, or a page that did not render.

Interfaces#

Constants#