vue-pure-admin2/build/optimize.ts

60 lines
2.2 KiB
TypeScript
Raw Normal View History

2022-11-26 14:26:19 +08:00
/**
* `vite.config.ts` `optimizeDeps.include`
* `vite` include esm node_modules/.vite
* include里vite 使 node_modules/.vite
* 使 src/main.ts include vite node_modules/.vite
*/
const include = [
2022-11-26 18:23:52 +08:00
"qs",
"mitt",
2022-11-26 14:26:19 +08:00
"xlsx",
"dayjs",
2022-11-26 18:23:52 +08:00
"axios",
2022-11-26 14:26:19 +08:00
"pinia",
"swiper",
2022-11-26 18:23:52 +08:00
"echarts",
2022-11-26 14:26:19 +08:00
"intro.js",
"vue-i18n",
2022-11-26 18:23:52 +08:00
"js-cookie",
2022-11-26 14:26:19 +08:00
"cropperjs",
"jsbarcode",
"sortablejs",
"swiper/vue",
2022-11-29 16:56:18 +08:00
"md-editor-v3",
2022-11-26 14:26:19 +08:00
"@vueuse/core",
"vue3-danmaku",
"v-contextmenu",
"vue-pdf-embed",
"china-area-data",
"vue-json-pretty",
"@logicflow/core",
"@pureadmin/utils",
"@wangeditor/editor",
2022-11-26 18:23:52 +08:00
"responsive-storage",
2022-11-26 14:26:19 +08:00
"@howdyjs/mouse-menu",
"@logicflow/extension",
"vue-virtual-scroller",
2022-11-26 18:23:52 +08:00
"element-resize-detector",
2022-11-26 14:26:19 +08:00
"@amap/amap-jsapi-loader",
"el-table-infinite-scroll",
"@wangeditor/editor-for-vue",
"xgplayer/dist/simple_player",
"xgplayer/es/controls/volume",
"vuedraggable/src/vuedraggable",
"xgplayer/es/controls/screenShot",
"xgplayer/es/controls/playbackRate"
];
/**
*
* `@iconify-icons/` `exclude` 使
*/
const exclude = [
"@iconify-icons/ep",
"@iconify-icons/ri",
"@iconify-icons/mdi",
"@pureadmin/theme/dist/browser-utils"
];
export { include, exclude };