bug with not compressing to small css file fixed (#3516)

This commit is contained in:
Nikolay Yurchenko 2019-11-06 19:44:20 +02:00 committed by GitHub
parent cc032d3151
commit f37f28020d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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({