dump

fun dump(block: DumpDsl.() -> Unit): String(source)

Creates an information dump.

Example

println(dump {
section("Hello") {
value("Path", "first")
value("Other", "first", "second")
}
})

fun dump(config: ViteConfig): String(source)

Dumps the entire config.

Example

vite {
// …
}

val dumpConfig by tasks.registering {
doLast {
println(dump(vite))
}
}