wireguard-dashboard-admin/build/optimize.ts

34 lines
1.6 KiB
TypeScript
Raw Permalink Normal View History

2022-11-26 19:14:08 +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
*/
2022-11-30 16:33:46 +08:00
const include = [
2022-11-26 19:14:08 +08:00
"qs",
"mitt",
"dayjs",
"axios",
"pinia",
2024-03-09 16:27:52 +08:00
"vue-types",
2022-11-26 19:14:08 +08:00
"js-cookie",
2024-03-09 16:27:52 +08:00
"vue-tippy",
2023-06-26 12:32:11 +08:00
"pinyin-pro",
2024-03-09 16:27:52 +08:00
"sortablejs",
2022-11-26 19:14:08 +08:00
"@vueuse/core",
"@pureadmin/utils",
2023-06-14 16:29:45 +08:00
"responsive-storage"
2022-11-26 19:14:08 +08:00
];
2022-11-30 16:33:46 +08:00
/**
*
* `@iconify-icons/` `exclude` 使
*/
const exclude = [
"@iconify-icons/ep",
"@iconify-icons/ri",
"@pureadmin/theme/dist/browser-utils"
];
export { include, exclude };