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

SubModule support suggestion #45

Closed frett27 closed 5 years ago

frett27 commented 5 years ago

When the repo is a submodule of an other, the plugin raise a "not git repository" error, it could be great to be able to reference the .git folder or perhaps recurse up to the main repository ?

frett27 commented 5 years ago

my bad, it works correctly, like a charm