Vite for Gradle • opensavvy.gradle.vite.base.config • ViteConfig • localPlugin
localPlugin¶
Imports a local file as a Vite plugin.
Local plugins are not added to package.json and are not downloaded. For more information, see ExternalVitePlugin.isLocal.
This is a helper function to add an element to plugins. For more information on the different parameters, see ExternalVitePlugin.