You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
1.5 KiB

  1. /**
  2. * `vite.config.ts` `optimizeDeps.include`
  3. * `vite` include esm node_modules/.vite
  4. * include里vite 使 node_modules/.vite
  5. * 使 src/main.ts include vite node_modules/.vite
  6. */
  7. const include = [
  8. "qs",
  9. "mitt",
  10. "dayjs",
  11. "axios",
  12. "pinia",
  13. "vue-i18n",
  14. "js-cookie",
  15. "sortablejs",
  16. "@vueuse/core",
  17. "@pureadmin/utils",
  18. "responsive-storage"
  19. ];
  20. /**
  21. *
  22. * `@iconify-icons/` `exclude` 使
  23. */
  24. const exclude = [
  25. "@iconify-icons/ep",
  26. "@iconify-icons/ri",
  27. "@pureadmin/theme/dist/browser-utils"
  28. ];
  29. export { include, exclude };