mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 18:14:13 +00:00
perf(@vant/cli): reduce small CSS files
This commit is contained in:
@@ -141,6 +141,8 @@ export function getViteConfigForSiteProd(): InlineConfig {
|
|||||||
outDir,
|
outDir,
|
||||||
brotliSize: false,
|
brotliSize: false,
|
||||||
emptyOutDir: true,
|
emptyOutDir: true,
|
||||||
|
// reduce small CSS files
|
||||||
|
cssCodeSplit: false,
|
||||||
rollupOptions: {
|
rollupOptions: {
|
||||||
input: {
|
input: {
|
||||||
main: join(SITE_SRC_DIR, 'index.html'),
|
main: join(SITE_SRC_DIR, 'index.html'),
|
||||||
|
Reference in New Issue
Block a user