bug with not compressing to small css file fixed (#3516)
This commit is contained in:
parent
cc032d3151
commit
f37f28020d
@ -15,7 +15,7 @@ module.exports = {
|
|||||||
new CompressionWebpackPlugin({
|
new CompressionWebpackPlugin({
|
||||||
algorithm: 'gzip',
|
algorithm: 'gzip',
|
||||||
test: new RegExp('\\.(' + productionGzipExtensions.join('|') + ')$'),
|
test: new RegExp('\\.(' + productionGzipExtensions.join('|') + ')$'),
|
||||||
threshold: 10240,
|
threshold: 1024,
|
||||||
minRatio: 0.8
|
minRatio: 0.8
|
||||||
}),
|
}),
|
||||||
new StyleLintPlugin({
|
new StyleLintPlugin({
|
||||||
|
Loading…
Reference in New Issue
Block a user