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:
parent
8874e6a233
commit
61db732b4a
1 changed files with 0 additions and 1 deletions
|
|
@ -24,7 +24,6 @@ const plugins = [
|
||||||
if (production) {
|
if (production) {
|
||||||
plugins.unshift(new CompressionPlugin({
|
plugins.unshift(new CompressionPlugin({
|
||||||
test: /\.(js|html)$/,
|
test: /\.(js|html)$/,
|
||||||
minRatio: 0.9,
|
|
||||||
deleteOriginalAssets: true
|
deleteOriginalAssets: true
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue