Skip to content

opensavvy.gradle.vite.base.tasks

The implementation of the different tasks.

Note that the Vite for Gradle plugin doesn't register the tasks.

Types

ViteExec

@CacheableTask
abstract class ViteExec @Inject constructor(process: ExecOperations) : DefaultTask

Executes a Vite command in the context of this project.

WriteConfig

@DisableCachingByDefault(because = "Not worth caching")
abstract class WriteConfig : DefaultTask

Generates the vite.config.js file from the values configured in the vite block.