ViteBuildConfig

Rollup configuration.

vite {
build {
// …
}
}

Properties

Link copied to clipboard
@get:Internal
abstract val modulePreload: Property<Boolean>

Whether to automatically inject a module preload polyfill.

Link copied to clipboard
@get:Internal
abstract val outDir: DirectoryProperty

Output directory of the production build.

Link copied to clipboard
@get:Internal
abstract val target: Property<String>

Browser compatibility target for the final bundle.