Configuring Vite+
Vite+ keeps project configuration in one place: vite.config.ts, allowing you to consolidate many top-level configuration files in a single file. You can keep using your Vite configuration such as server or build, and add Vite+ blocks for the rest of your workflow:
ts
import { defineConfig } from 'vite-plus';
export default defineConfig({
server: {},
build: {},
preview: {},
test: {},
lint: {},
fmt: {},
run: {},
pack: {},
staged: {},
});Vite+ Specific Configuration
Vite+ extends the basic Vite configuration with these additions: