While working on a little PR for the Hugo doc site theme, I learned that if I needed to make changes to JS/CSS, I had to commit my changes in both unminified and minified versions. I have a habit to always look at the diffs at the time of staging and committing.