ViteAppResource.WithViteConfig
Method
type ViteAppResource interface { // ... omitted for brevity WithViteConfig(configPath string) ViteAppResource}Signature
method
WithViteConfig builderConfigures the Vite app to use the specified Vite configuration file instead of the default resolution behavior.
WithViteConfig(configPath string) ViteAppResourceParameters
configPath stringThe path to the Vite configuration file. Relative to the Vite service project root.Returns
ViteAppResource The resource builder.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: