Skip to content

ui-router-server / vite

vite ​

Interfaces ​

  • PrerenderBuild — What the plugin hands the prerender script's default export after vite build.
  • PrerenderOptions — The object form of ServerRouterPluginOptions.prerender.
  • ServerRouterPlugin — A structural subset of Vite's Plugin — assignable into plugins: [...].
  • ServerRouterPluginOptions — Options for serverRouterPlugin: the Connect adapter's, plus the build step; the base comes from Vite's config.
  • ViteBuildContext — The sliver of Vite's plugin context the build step reads.
  • ViteMiddlewareServer — The sliver of Vite's dev/preview server the plugin uses: the Connect stack.
  • ViteResolvedConfig — The sliver of Vite's resolved config the plugin reads.
  • ViteUserConfig — The sliver of Vite's user config the plugin reads before it resolves.

Type Aliases ​

  • PrerenderEntry — The prerender script's default export: calls a prerender() — this package's from ui-router-server/prerender, or lit-ui-router-ssr's — with the build's values and returns its result.

Functions ​