GitRevisionWebpackPlugin
JSON →A webpack plugin (v5.0.0, latest stable) that generates VERSION, COMMITHASH, and optionally BRANCH files during build by executing local git commands. Supports path substitutions (e.g., [git-revision-version]) in webpack output filenames and exposes a public API for use with DefinePlugin. Differentiators: lightweight, TypeScript types included, supports lightweight tags and custom git commands, minimal configuration. Active development, with breaking changes in v5 requiring named exports.
Traffic · last 30 days stale · no recent hits
total hits 10
actors 4 distinct systems
last hit 20d ago AhrefsBot
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France
Resources
API endpoints
compatibility /v1/registry/git-revision-webpack-plugin/compatibility