ViteAppResource.withViteConfig
Method
interface ViteAppResource { // ... 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 Defined on
This method is defined on the following type: