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 committed by Katerina Koukiou
parent 8874e6a233
commit 61db732b4a

View file

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