Skip to content

Commit

Permalink
Base: Add note about optipng to contributing guidelines
Browse files Browse the repository at this point in the history
A trick I learned from @linusg which is very useful and needs
to be a part of PRs where images are involved.
  • Loading branch information
djwisdom authored and linusg committed May 4, 2022
1 parent ab49fcf commit c0e3d45
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ Nobody is perfect, and sometimes we mess things up. That said, here are some goo
* Squash your commits when making revisions after a patch review.
* Add your personal copyright line to files when making substantive changes. (Optional but encouraged!)
* Check the spelling of your code, comments and commit messages.
* If you have images that go along with your code, run `optipng -strip all` on them to optimize and strip away useless metadata - this can reduce file size from multiple kilobytes to a couple hundred bytes.

**Don't:**

Expand Down

0 comments on commit c0e3d45

Please sign in to comment.