mirror of
https://gitee.com/chu1204505056/vue-admin-beautiful.git
synced 2025-06-02 16:09:14 +08:00
✨修复gzip压缩bug
This commit is contained in:
parent
258afdd0cc
commit
7fd1ec38f7
@ -130,7 +130,7 @@ module.exports = {
|
||||
.plugin('compression')
|
||||
.use(CompressionWebpackPlugin, [
|
||||
{
|
||||
filename: '[path].gz[query]',
|
||||
filename: '[path][base].gz[query]',
|
||||
algorithm: 'gzip',
|
||||
test: new RegExp(
|
||||
'\\.(' + productionGzipExtensions.join('|') + ')$'
|
||||
|
Loading…
x
Reference in New Issue
Block a user