pirelenito / git-revision-webpack-plugin

🏗 Webpack plugin that generates VERSION and COMMITHASH files during build
https://www.npmjs.com/package/git-revision-webpack-plugin
MIT License
358 stars 48 forks source link

is it possible to specify repository path? #43

Closed sakthivelsekar33 closed 3 years ago

sakthivelsekar33 commented 5 years ago

I want to get the commit hash of a repository which is outside the current path, so is it possible to give a path to a repository?

something like

gitRevisionPlugin.commithash(path: '/path/to/repo')

pirelenito commented 3 years ago

Thanks for the suggestion, but I'm currently not accepting any new features to the package.