ViteConfig
The main configuration block, exposed by the vite extension:
plugins {
// …
}
vite {
// …
}Content copied to clipboard
Properties
Link copied to clipboard
Whether to rewrite <script> declaration in the index.html file to be compatible with the Vite plugin and Hot Module Replacement. Disabled by default.
Link copied to clipboard
Configuration for Rollup to build the production bundle.
Link copied to clipboard
The list of Vite plugins from NPM imported by this project.
Link copied to clipboard
Configuration for the development server.