withViteConfig
Method
interface ViteAppResource { // ... omitted for brevity withViteConfig(configPath: string): ViteAppResource;}Signature
method
withViteConfigbuilderConfigures the Vite app to use the specified Vite configuration file instead of the default resolution behavior.
withViteConfig(configPath: string): ViteAppResourceParameters
configPathstringReturns
ViteAppResourceApplies to
This method applies to the following types: