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
You've already mentioned your choices. There aren't really a best way. Choose what you prefer. Either create a new repo or commit the
/dist folder. Both have upsides and downsides. Creating a repo makes it more cumbersome to update and committing makes the repo more bloated.
The Bower team is working on a way to publish releases to a server, which will resolve this issue.