Browse Source

Reduces webp quality for build speed

main
Eric Amodio 3 years ago
parent
commit
38ab5633e9
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      webpack.config.js

+ 2
- 2
webpack.config.js View File

@ -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,
},
],
],

Loading…
Cancel
Save