Improve compression settings, Inferno credits

This commit is contained in:
Corentin Risselin 2020-07-20 21:13:32 +09:00
commit 8ade0ee633
6 changed files with 38 additions and 9 deletions

View file

@ -29,7 +29,8 @@ module.exports = Object.assign(
{
filename: "[path].gz[query]",
algorithm: "gzip",
test: [/\.js/, /^assets\.*/]
test: [/\.js/, /^assets\.*/],
threshold: 1000
})
]
}