Commit fb57cf734da31af94f3072c685b778a64fc740a5
1 parent
d7dc0934
perf: add @ant-design/icons-vue to optimizeDeps
Showing
1 changed file
with
1 additions
and
0 deletions
vite.config.ts
@@ -88,6 +88,7 @@ export default ({ command, mode }: ConfigEnv): UserConfig => { | @@ -88,6 +88,7 @@ export default ({ command, mode }: ConfigEnv): UserConfig => { | ||
88 | 88 | ||
89 | optimizeDeps: { | 89 | optimizeDeps: { |
90 | include: [ | 90 | include: [ |
91 | + '@ant-design/icons-vue', | ||
91 | 'ant-design-vue/es/locale/zh_CN', | 92 | 'ant-design-vue/es/locale/zh_CN', |
92 | 'moment/dist/locale/zh-cn', | 93 | 'moment/dist/locale/zh-cn', |
93 | 'ant-design-vue/es/locale/en_US', | 94 | 'ant-design-vue/es/locale/en_US', |