chore: 添加vite预构建配置

This commit is contained in:
xingyu 2022-07-28 12:17:47 +08:00
parent 3e416c19bb
commit 96ef21764a

View File

@ -137,16 +137,19 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
'vue', 'vue',
'vue-router', 'vue-router',
'vue-types', 'vue-types',
'vue-i18n',
'element-plus/es/locale/lang/zh-cn', 'element-plus/es/locale/lang/zh-cn',
'element-plus/es/locale/lang/en', 'element-plus/es/locale/lang/en',
'@iconify/iconify', '@iconify/iconify',
'@vueuse/core', '@vueuse/core',
'axios', 'axios',
'qs', 'qs',
'dayjs',
'echarts', 'echarts',
'echarts-wordcloud', 'echarts-wordcloud',
'intro.js', 'intro.js',
'qrcode', 'qrcode',
'pinia',
'@wangeditor/editor', '@wangeditor/editor',
'@wangeditor/editor-for-vue' '@wangeditor/editor-for-vue'
] ]