Template
1
0
mirror of https://github.com/un-pany/v3-admin-vite.git synced 2025-04-21 11:29:20 +08:00

docs: vite 配置选项 chunkSizeWarningLimit 注释优化 (#122)

This commit is contained in:
ClariS 2023-08-28 11:09:07 +08:00 committed by GitHub
parent 41973c2013
commit a267429e5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,7 @@ export default (configEnv: ConfigEnv): UserConfigExport => {
}
},
build: {
/** 消除打包大小超过 500kb 警告 */
/** 单个 chunk 文件的大小超过 2048KB 时发出警告 */
chunkSizeWarningLimit: 2048,
/** 禁用 gzip 压缩大小报告 */
reportCompressedSize: false,