Vite for Kotlin • opensavvy.gradle.vite.kotlin.config • KotlinViteConfig
KotlinViteConfig¶
interface KotlinViteConfig : ViteConfig
The configuration block with options specific to the Kotlin Multiplatform projects.
Properties¶
autoRewriteIndex¶
@get:
Internal
abstract val autoRewriteIndex: Property<Boolean>
base¶
build¶
abstract val build: ViteBuildConfig
disabledTargets¶
@get:
Internal
abstract val disabledTargets: ListProperty<String>
A list of targets names that should not be configured by the Vite plugin.
plugins¶
@get:
Internal
abstract val plugins: ListProperty<ExternalVitePlugin>
publicDir¶
root¶
@get:
Internal
abstract val root: DirectoryProperty
server¶
abstract val server: ViteServerConfig
version¶
Functions¶
build¶
disabledTargets¶
open fun disabledTargets(vararg targets: String)
plugin¶
server¶
setDefaults¶
open fun setDefaults()
setDefaultsFrom¶
open fun setDefaultsFrom(other: ViteConfig)