git revision plugin ported to Rspack #6133
amarant
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I ported the webpack git-revision-webpack-plugin to rspack, it generates VERSION and COMMITHASH files during build based on a local git repository and can give commit hash to the define plugin.
Currently I deactivated the file name templating functionality because the assetPath hook isn't available.
it is available here and code here.
Beta Was this translation helpful? Give feedback.
All reactions