NPM build script generates index.html and about pages that include the current git hash/version number. However, after building that means you have a dirty git worktree. The fundamental issue is that the generated files are under version control and shall contain a git commit SHA, which is only known after committing, so you always need to do "one more commit".
NPM build script generates index.html and about pages that include the current git hash/version number. However, after building that means you have a dirty git worktree. The fundamental issue is that the generated files are under version control and shall contain a git commit SHA, which is only known after committing, so you always need to do "one more commit".