Improve compression settings, Inferno credits
This commit is contained in:
parent
93f0b1d836
commit
8ade0ee633
6 changed files with 38 additions and 9 deletions
|
|
@ -29,7 +29,8 @@ module.exports = Object.assign(
|
|||
{
|
||||
filename: "[path].gz[query]",
|
||||
algorithm: "gzip",
|
||||
test: [/\.js/, /^assets\.*/]
|
||||
test: [/\.js/, /^assets\.*/],
|
||||
threshold: 1000
|
||||
})
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue