chore: update vite.config.js

This commit is contained in:
张传龙 2022-05-19 15:40:02 +08:00
parent 5ce2150706
commit 3203a9a459

View File

@ -38,8 +38,8 @@ export default defineConfig(({ command, mode }) => {
build: {
target: 'es2015',
outDir: OUTPUT_DIR,
brotliSize: false,
chunkSizeWarningLimit: 2000,
reportCompressedSize: false, // 启用/禁用 gzip 压缩大小报告
chunkSizeWarningLimit: 1024, // chunk 大小警告的限制单位kb
},
}
})