From 61db732b4a5efa57842d23015674a014d05d3552 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Sun, 22 Nov 2020 12:52:18 +0100 Subject: [PATCH] webpack: Drop compression plugin's minRatio option The default of 0.8 is just fine, no need to tweak this. --- webpack.config.js | 1 - 1 file changed, 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index f9ede12..28540ee 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -24,7 +24,6 @@ const plugins = [ if (production) { plugins.unshift(new CompressionPlugin({ test: /\.(js|html)$/, - minRatio: 0.9, deleteOriginalAssets: true })); }