chore: update vite.config.js
This commit is contained in:
parent
5ce2150706
commit
3203a9a459
@ -38,8 +38,8 @@ export default defineConfig(({ command, mode }) => {
|
|||||||
build: {
|
build: {
|
||||||
target: 'es2015',
|
target: 'es2015',
|
||||||
outDir: OUTPUT_DIR,
|
outDir: OUTPUT_DIR,
|
||||||
brotliSize: false,
|
reportCompressedSize: false, // 启用/禁用 gzip 压缩大小报告
|
||||||
chunkSizeWarningLimit: 2000,
|
chunkSizeWarningLimit: 1024, // chunk 大小警告的限制(单位kb)
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user