Build stages

  1. Load config and resolve target settings.
  2. Scan routes, islands, agents, tools, and jobs.
  3. Generate the client entry for islands.
  4. Bundle browser assets when islands exist.
  5. Write the client manifest to disk.
  6. Generate a server entry with inlined route and manifest macros.
  7. Bundle the server for the active adapter target.
  8. Copy public assets.
  9. Let the adapter emit final runtime artifacts.

Output shape

The build result includes:

  • a client manifest
  • the final server entry
  • emitted assets
  • feature counts for routes, islands, agents, tools, and jobs
  • additional adapter artifacts

Plugin hooks

Plugins can participate with:

  • onBuildStart
  • onBuildEnd
  • onJobsCollect

Hook failures are wrapped with plugin and hook names before being surfaced.

Patties documentation · Licensed under MIT. · Design specs