vue-pro/yudao-ui-admin-vue3/build/vite/optimize.ts

43 lines
725 B
TypeScript
Raw Normal View History

2022-12-01 17:57:55 +08:00
const include = [
2022-12-01 18:10:39 +08:00
'qs',
'url',
2022-12-01 17:57:55 +08:00
'vue',
'sass',
2022-12-01 18:10:39 +08:00
'mitt',
'axios',
'pinia',
'dayjs',
'qrcode',
2022-12-07 10:45:07 +08:00
'windicss',
2022-12-01 17:57:55 +08:00
'vue-router',
'vue-types',
'vue-i18n',
'xe-utils',
2022-12-01 18:10:39 +08:00
'crypto-js',
2023-02-01 16:22:36 +08:00
'cropperjs',
2022-12-01 17:57:55 +08:00
'lodash-es',
2022-12-01 18:10:39 +08:00
'vxe-table',
2022-12-07 10:45:07 +08:00
'nprogress',
'animate.css',
2022-12-01 18:10:39 +08:00
'vxe-table/es/style',
'web-storage-cache',
2022-12-01 17:57:55 +08:00
'element-plus',
2023-01-18 12:14:58 +08:00
'element-plus/es',
2022-12-01 17:57:55 +08:00
'element-plus/es/locale/lang/zh-cn',
'element-plus/es/locale/lang/en',
'@iconify/iconify',
'@vueuse/core',
2022-12-01 18:10:39 +08:00
'@zxcvbn-ts/core',
2022-12-01 17:57:55 +08:00
'echarts/core',
'echarts/charts',
'echarts/components',
'echarts/renderers',
'echarts-wordcloud',
'@wangeditor/editor',
'@wangeditor/editor-for-vue'
]
const exclude = ['@iconify/json']
export { include, exclude }