优化构建

This commit is contained in:
hooray 2022-10-12 01:19:37 +08:00
parent ee78a80307
commit 67783fc6b7

View File

@ -8,7 +8,7 @@ export default function createCompression(env) {
plugin.push(
compression({
ext: '.gz',
deleteOriginFile: false,
deleteOriginFile: true,
}),
)
}
@ -17,7 +17,7 @@ export default function createCompression(env) {
compression({
ext: '.br',
algorithm: 'brotliCompress',
deleteOriginFile: false,
deleteOriginFile: true,
}),
)
}