Skip to content

Search the guides, deployment pages, and API reference.

@pitlane/vite-plugin-fetch-server

Interfaces

Functions

  • fetchServer. Serves vite dev requests through the Fetch handler an application's server module exports. Every request Vite does not answer itself goes to the current default.fetch of entry, loaded through the environment's module runner on each request, so an edit applies to the next request. Errors go to Vite's development error page.