mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 10:07:07 +00:00
perf(@vant/cli): reduce small CSS files
This commit is contained in:
@@ -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'),
|
||||
|
Reference in New Issue
Block a user