Optional ReadonlyentryPath to the SSR/SSG entry module.
In SSR mode: exports a render(request: Request) => Promise<Response> function.
In SSG mode: exports { router, app?, document?, layers? } for static site generation.
When provided, the plugin runs an SSR dev server with HMR in dev mode. When omitted, only the server-code stripping transform is applied.
Optional ReadonlyexcludeFile patterns to exclude from the transform.
Optional ReadonlyincludeFile patterns to apply the server-code stripping transform to. Defaults to all .ts/.tsx/.js/.jsx files.
Optional ReadonlymodeBuild mode.
"ssr" (default) — Standard SSR with live server"ssg" — Static site generation. After vite build, runs
Platform.buildStaticSite() to pre-render all Route.static routes.In dev mode, both modes behave the same (SSR dev server with HMR).
Options for the Effex Platform Vite plugin.