Skip to content
Docs Try Aspire

withViteConfig

Function
📦 Aspire.Hosting.JavaScript v13.2.0-preview.1.26159.1
interface ViteAppResource {
// ... omitted for brevity
withViteConfig(configPath: string): ViteAppResource;
}

Signature

method withViteConfig builder
Configures a custom Vite configuration file
withViteConfig(configPath: string): ViteAppResource
configPath string
ViteAppResource

Applies to

This function is an extension method on the following types: