name: vite
binary: vite
aliases: []
category:
- build
lang:
- javascript
- typescript
summary: Frontend development server and build tool.
homepage: https://github.com/vitejs/vite
docs: https://vite.dev/guide/cli.html
detect:
version_args:
- --version
local:
files:
- vite.config.js
- vite.config.ts
- vite.config.mjs
- vite.config.mts
dirs: []
package_json:
package_manager_prefixes: []
use_when:
- Run or build Vite frontend projects
avoid_when:
- The project uses another frontend framework build command
risk:
level: medium
effects:
- execute_code
- network_access
- write_files
requires_auth: false
destructive: false
confirmation_required_for:
- exposing dev servers on public interfaces
guardrails:
- Use project package scripts when they wrap Vite configuration.