!222 build.brotliSize(改为了 build.reportCompressedSize)

Merge pull request !222 from uglyp/master-fetch-dev
This commit is contained in:
奔跑的面条 2024-03-06 02:48:54 +00:00 committed by Gitee
commit 2ae971d17a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -93,7 +93,7 @@ export default ({ mode }) => defineConfig({
// minify: 'terser', // 如果需要用terser混淆可打开这两行
// terserOptions: terserOptions,
rollupOptions: rollupOptions,
brotliSize: brotliSize,
reportCompressedSize: brotliSize,
chunkSizeWarningLimit: chunkSizeWarningLimit
}
})