vite-patcher

JSON →
library 0.0.8 ·javascript
verified Jun 4, 2026

vite-patcher (v0.0.8) is a CLI tool that automates injection of Vite plugins and configuration code into your vite.config.* file. It reads the existing config, adds necessary imports and plugin initializations, and preserves formatting. It currently supports the 'pwa' patch for vite-plugin-pwa and has built-in detection for vike to avoid double injection. Developed actively on GitHub under node-ecosystem.