Parcourir la source

Reduces webp quality for build speed

main
Eric Amodio il y a 4 ans
Parent
révision
38ab5633e9
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. +2
    -2
      webpack.config.js

+ 2
- 2
webpack.config.js Voir le fichier

@ -356,9 +356,9 @@ function getWebviewsConfig(mode, _env) {
'imagemin-webp',
{
lossless: true,
nearLossless: mode === 'production' ? 0 : 100,
nearLossless: 0,
quality: 100,
method: mode === 'production' ? 6 : 0,
method: mode === 'production' ? 4 : 0,
},
],
],

Chargement…
Annuler
Enregistrer