Vite for Gradle • opensavvy.gradle.vite.base.config • ViteServerConfig
ViteServerConfig¶
Properties¶
host
¶
Specify which IP addresses the server should listen on.
port
¶
Specify server port.
proxies
¶
@get:
Internal
abstract val proxies: ListProperty<ProxyOptions>
Configures the proxies started by the Vite development server.
strictPort
¶
@get:
Internal
abstract val strictPort: Property<Boolean>
Set to true to exit if port is already in use, instead of automatically trying the next available port.
Functions¶
proxy
¶
Configures the proxies started by the Vite development server.