I'm using webpack-git-hash and on my machine it works as expected. As soon as I deploy the project on Heroku I get this error:
Error: Command failed: git rev-parse --short=7 HEAD
fatal: Not a git repository (or any parent up to mount point /app)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
What happens when I push a repo to Heroku? The .git folder is placed somewhere else?