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