Add imagemin-webp

This commit is contained in:
Alice Gaudon 2021-06-07 11:24:52 +02:00
parent 7e260ebde2
commit 938e8b4ebb
2 changed files with 4 additions and 2 deletions

View File

@ -44,6 +44,7 @@
"imagemin-mozjpeg": "^9.0.0",
"imagemin-pngquant": "^9.0.2",
"imagemin-svgo": "^9.0.0",
"imagemin-webp": "^6.0.0",
"jest": "^27.0.4",
"maildev": "^1.1.0",
"mini-css-extract-plugin": "^1.2.1",

View File

@ -84,6 +84,7 @@ const config = {
["gifsicle", {}],
["mozjpeg", {}],
["pngquant", {}],
["webp", {quality: 90}],
// Svgo configuration here https://github.com/svg/svgo#configuration
[
"svgo",