diff --git a/vite/plugins/compression.ts b/vite/plugins/compression.ts index 317582d..7b2bd15 100644 --- a/vite/plugins/compression.ts +++ b/vite/plugins/compression.ts @@ -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, }), ) }