mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-19 14:25:35 +08:00
perf(vite-config): 禁用 sourcemap 以减小构建输出体积
This commit is contained in:
@@ -5,7 +5,7 @@ async function getCommonConfig(): Promise<UserConfig> {
|
|||||||
build: {
|
build: {
|
||||||
chunkSizeWarningLimit: 2000,
|
chunkSizeWarningLimit: 2000,
|
||||||
reportCompressedSize: false,
|
reportCompressedSize: false,
|
||||||
sourcemap: true,
|
sourcemap: false,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user