I know that it is considered a bad practice to commit generated files to a git repository. But how to deal with bower?
Currently my library is built into a dist/
directory which gets ignored by a .gitignore
file. I don't want generated files pushed to the repository. The problem is that the library is also distributed as a bower component.
How can I reference the generated assets into my bower component when a new version got released? Should I create another repository to store those files? Should I commit those files to the git tagged version?