Skip to content

ui-router-server / vite / ViteResolvedConfig

Interface: ViteResolvedConfig ​

Defined in: vite.ts:45

The sliver of Vite's resolved config the plugin reads.

Properties ​

PropertyTypeDescriptionDefined 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.outDirstringThe client build's output directory, as configured.vite.ts:55
build.ssrstring | booleanTruthy 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) => voidLogs one line at info level.vite.ts:62
modestringThe mode, passed on to the module runner that loads the prerender entry.vite.ts:51
rootstringThe project root; the prerender entry and build.outDir resolve against it.vite.ts:47