Skip to content

Commit 4befbab

Browse files
committed
chore: Update vite deps optimization config
1 parent 873ea1f commit 4befbab

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

build/vite/optimize.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ const include = [
33
'echarts',
44
'lodash-es',
55
'resize-detector',
6+
'vant/es',
67
'vant/es/cell-group/style/index',
78
'vant/es/popup/style/index',
89
'vant/es/picker/style/index',
@@ -17,6 +18,13 @@ const include = [
1718
'vant/es/form/style/index',
1819
'vant/es/field/style/index',
1920
'vant/es/notify/style/index',
21+
'vant/es/config-provider/style/index',
22+
'vant/es/nav-bar/style/index',
23+
'vant/es/tabbar/style/index',
24+
'vant/es/tabbar-item/style/index',
25+
'unplugin-vue-router/runtime',
26+
'unplugin-vue-router/data-loaders',
27+
'unplugin-vue-router/data-loaders/basic',
2028
]
2129

2230
const exclude = [

0 commit comments

Comments
 (0)