Closed iDVB closed 3 years ago
According to the README the commithashCommand
should be overridable. But in my testing I am not able to get it to work with something like rev-parse --short HEAD
—which returns a short hash.
I have this in my webpack config and it works perfectly fine:
new GitRevisionPlugin({
commithashCommand: 'rev-parse --short HEAD'
})
Is there a way to get the short-hash?