In this article, I share a universal approach for auto-generating WebP based on Git hooks. It is more flexible than relying on a plugin that sticks to a particular JAMstack framework or language. The approach works locally on Windows, macOS, or Linux, so it is easier to debug and prevent handling errors on the server-side. Also, it is an easy to adopt workflow, even for non-techies.

Please click the link below for the full article https://chriskyfung.medium.com/automatically-create......

#automate #JAMstack #webdevelopment #GitHooks