Skip to content

Commit

Permalink
Update README - add pre-commit use description
Browse files Browse the repository at this point in the history
  • Loading branch information
danilobecke committed Jun 29, 2023
1 parent f3a021c commit c930b5d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ fastlane add_plugin tinifyme

Compress assets using [TinyPNG](https://tinypng.com). This plugin was designed to automate image compression in your project via pre-commit hook or one-off runs.

When used as a pre-commit hook, it will search for staged images (added or modified), compress'em, and add them back into the current commit. All you need to do is call your lane invoking the tinifyme action!

You'll need a TinyPNG developer API key, which can be freely obtained on their website: [https://tinypng.com/developers](https://tinypng.com/developers).

## Example
Expand Down

0 comments on commit c930b5d

Please sign in to comment.