Vite
$ vite Official Low RiskStandard frontend build tool combining native ESM dev serving with optimized Rollup production builds. Supports --logLevel silent|error|warn, --clearScreen false, and NO_COLOR=1 for CI/agent builds, while vite dev runs as a persistent server daemon.
brew install vite Local frontend bundler and dev server executed directly in Node.js project workspaces.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
vite build is non-interactive with --logLevel, --clearScreen false, and NO_COLOR=1, though it lacks --json output and vite dev is a blocking daemon.
- Supports
--logLeveland--clearScreen false - No
--jsonbuild summary flag
Build artifacts stay scoped to dist/, though loading vite.config.* executes local JS/TS config code.
- Predictable
dist/output and zero remote write operations
Standard npm/Homebrew package across macOS, Linux, and Windows wherever Node.js is installed.
- Cross-platform npm package and Homebrew formula
Dominant modern frontend toolchain for React, Vue, Svelte, and library builds.
- Unified fast dev server and Rollup production bundler
Maintained by Evan You, VoidZero, and the Vite team under MIT license.
- Official
vitejs/viterepository
Clear CLI guide at vite.dev/guide/cli.html and helpful --help per subcommand.
- Official Vite CLI documentation
Security, Auth & Guardrails
No authentication required; reads local project vite.config.* and .env* files.
MIT open-source CLI; completely free.
# Vite (vite) Agent Rules - Use `vite build --clearScreen false` with `NO_COLOR=1` to verify frontend builds. - Run `vite dev` or `vite preview` ONLY as background daemon processes; never invoke them synchronously in a blocking command.
Agent-Ready Command Recipes
Safe Read-Only Queries
vite --version && vite build --help
Reports the installed Vite version and production build options without touching dist/.
Controlled Writes & Previews
NO_COLOR=1 vite build --logLevel warn --clearScreen false
Builds production assets into dist/ without clearing terminal scrollback or ANSI color noise.
Strengths for Agents
- +
vite buildprovides fast, zero-prompt production bundle verification with--clearScreen false. - + De facto standard frontend CLI with crisp documentation and wide framework adoption.
Caveats & Pitfalls
- ! Default
vite/vite devstarts a persistent dev server that hangs synchronous agent turns if not backgrounded. - ! Build diagnostics and asset tables are plain text rather than JSON.