Preparing for system design interviews?  Try bugzed.com →

git-revision-vite-plugin

JSON →
library 0.0.11 ·javascript
verified Jun 18, 2026

A Vite plugin that injects git repository information (commit hash, version, branch, last commit datetime) as global constants at build time. Current stable version is 0.0.11, with experimental release cadence. Inspired by git-revision-webpack-plugin, it aims to provide equivalent functionality for Vite projects. Lightweight and zero-config by default, it exposes four globals: GIT_COMMITHASH, GIT_VERSION, GIT_BRANCH, GIT_LASTCOMMITDATETIME. Supports custom variable names, git commands, and lightweight tags. TypeScript types are included.

total hits 13
actors 5 distinct systems
last hit 16d ago AhrefsBot
GPTBot
4
ClaudeBot
3
Script
1
Search engines
1

top countries 🇺🇸 United States · 🇬🇧 United Kingdom · 🇨🇦 Canada · 🇩🇪 Germany