admin-vben/build/vite/optimize.ts

36 lines
596 B
TypeScript

const include = [
'qs',
'vue',
'less',
'axios',
'pinia',
'dayjs',
'qrcode',
'echarts',
'intro.js',
'cropperjs',
'crypto-js',
'lodash-es',
'nprogress',
'vue-i18n',
'vue-types',
'vue-router',
'sortablejs',
'echarts/core',
'echarts/charts',
'echarts/components',
'echarts/renderers',
'@vueuse/core',
'@zxcvbn-ts/core',
'@iconify/iconify',
'ant-design-vue',
'ant-design-vue/es/style',
'ant-design-vue/es/locale/zh_CN',
'ant-design-vue/es/locale/en_US',
'vite-plugin-windicss'
]
const exclude = ['@iconify/json']
export { include, exclude }