perf(@vant/cli): reduce small CSS files

This commit is contained in:
chenjiahan 2021-09-08 10:19:45 +08:00 committed by neverland
parent 4491b5451d
commit e20b05e10b

View File

@ -141,6 +141,8 @@ export function getViteConfigForSiteProd(): InlineConfig {
outDir,
brotliSize: false,
emptyOutDir: true,
// reduce small CSS files
cssCodeSplit: false,
rollupOptions: {
input: {
main: join(SITE_SRC_DIR, 'index.html'),