Stone.js API
    Preparing search index...
    • Collect the GET routes to pre-render from the route definitions.

      This is what makes SSG zero-config: the routes the app already declares (the same definitions the router scans for lazy loading) become the pre-render set, so the user never restates them. A definition contributes every one of its GET paths (a route may declare several aliases).

      A parameterized path is expanded when params declares values for its segments, which matters most for a parameterized global prefix: without it, one :lang on the router prefix puts a dynamic segment on every route and auto-discovery collapses to nothing. A path whose segments have no declared values is still skipped, but reported through onSkipped instead of vanishing.

      Parameters

      • definitions: RouteDefinitionLike[]

        The build-time route definitions.

      • options: { onSkipped?: (skipped: SkippedTargets) => void; params?: SsgParams } = {}

        Declared segment values, and where to report what could not be expanded.

      Returns PrerenderTarget[]

      The static prerender targets, de-duplicated by path.