ui-router-server / vite / ViteResolvedConfig
Interface: ViteResolvedConfig
Defined in: vite.ts:60
The sliver of Vite's resolved config the plugin reads.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
base | string | The public base path; the middleware strips it and the prerender writes it into rules lines. | vite.ts:64 |
build | { outDir: string; ssr: string | boolean; } | Build options: where the client build writes, and whether it is an SSR build. | vite.ts:70 |
build.outDir | string | The client build's output directory, as configured. | vite.ts:72 |
build.ssr | string | boolean | Truthy for vite build --ssr, which the build step skips. | vite.ts:74 |
command | "build" | "serve" | 'build' for vite build; the build step runs only then. | vite.ts:66 |
logger | { info(message): void; } | Vite's logger; the build step reports what it wrote. | vite.ts:77 |
logger.info | (message) => void | Logs one line at info level. | vite.ts:79 |
mode | string | The mode, passed on to the module runner that loads the prerender entry. | vite.ts:68 |
root | string | The project root; the prerender entry and build.outDir resolve against it. | vite.ts:62 |