Assets static gzip
This commit is contained in:
parent
757be042a1
commit
ef14970e1c
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ module.exports = Object.assign(
|
||||||
{
|
{
|
||||||
filename: "[path].gz[query]",
|
filename: "[path].gz[query]",
|
||||||
algorithm: "gzip",
|
algorithm: "gzip",
|
||||||
test: /\.js/
|
test: [/\.js/, /^assets\.*/]
|
||||||
})
|
})
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue