root

@get:Internal
abstract val root: DirectoryProperty(source)

Project root directory, where index.html is located.

Example

vite {
root.set(project.layout.projectDirectory.file("index.html"))
}

External resources