Recently, I needed to convert some images to WebP format in a Nuxt.js project. Naturally, I searched for some Nuxt.js modules and found myself npm-installing for a while...😖
So, instead of adding another module to my project, I used a tiny node
script for converting my images with imagemin ✌!
Get the script on my blog:
https://yossiabramov.com/blog/converting-images-to-webp-with-node-js
Top comments (0)