WebP support
Closed this issue · 4 comments
andrevandal commented
Hi.
Is it possible to add support for the WebP format?
There is a library for the "imagemin" that might help.
Thanks.
sobolevn commented
Sure! Can you please send a PR?
ricardogobbosouza commented
@derevandal no need a PR, just right configuration..
nuxt.config.js
import imageminWebp from 'imagemin-webp'
module.exports = {
....
modules: [
['nuxt-imagemin', {
plugins: [
imageminWebp({quality: 50})
]
}]
]
...
}
sobolevn commented
@derevandal please, verify that @ricardogobbosouza's solution works. And I will close this issue.
andrevandal commented
@sobolevn can you close and accept my pr to document this in readme