From 38ab5633e92ec30dc6264526bed5ef8a739f2586 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Tue, 2 Feb 2021 22:52:34 -0500 Subject: [PATCH] Reduces webp quality for build speed --- webpack.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index 6810a31..374ea7e 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -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, }, ], ],