diff --git a/build/vite/optimize.ts b/build/vite/optimize.ts index d34e1b37..3dda50b0 100644 --- a/build/vite/optimize.ts +++ b/build/vite/optimize.ts @@ -31,6 +31,8 @@ const include = [ 'element-plus/es', 'element-plus/es/locale/lang/zh-cn', 'element-plus/es/locale/lang/en', + 'element-plus/es/components/avatar/style/css', + 'element-plus/es/components/space/style/css', 'element-plus/es/components/backtop/style/css', 'element-plus/es/components/form/style/css', 'element-plus/es/components/radio-group/style/css',