webpack: Drop compression plugin's minRatio option

The default of 0.8 is just fine, no need to tweak this.
This commit is contained in:
Martin Pitt 2020-11-22 12:52:18 +01:00
parent b4817f080b
commit 90c4b6ba5b

View file

@ -24,7 +24,6 @@ const plugins = [
if (production) {
plugins.unshift(new CompressionPlugin({
test: /\.(js|html)$/,
minRatio: 0.9,
deleteOriginalAssets: true
}));
}