mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
perf(@vant/cli): reduce small CSS files
This commit is contained in:
parent
4491b5451d
commit
e20b05e10b
@ -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'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user