ViteAppResource
Handle
interface ViteAppResource extends IComputeResource, IResource, IResourceWithArgs, IResourceWithEndpoints, IResourceWithEnvironment, IResourceWithProbes, IResourceWithWaitSupport, IResourceWithContainerFiles, IResourceWithServiceDiscovery { readonly resourceTypeDisplayName: string; withViteConfig(configPath: string): ViteAppResource;}Properties
property
resourceTypeDisplayName stringgetGets the ResourceTypeDisplayName property
Methods
Configures 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