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.

38 lines
1.7 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. "lodash",
  14. "echarts",
  15. "vue-i18n",
  16. "xe-utils",
  17. "vxe-table",
  18. "js-cookie",
  19. "lodash-es",
  20. "@vueuse/core",
  21. "lodash-unified",
  22. "@ctrl/tinycolor",
  23. "@pureadmin/utils",
  24. "responsive-storage",
  25. "element-resize-detector"
  26. ];
  27. /**
  28. *
  29. * `@iconify-icons/` `exclude` 使
  30. */
  31. const exclude = [
  32. "@iconify-icons/ep",
  33. "@iconify-icons/ri",
  34. "@pureadmin/theme/dist/browser-utils"
  35. ];
  36. export { include, exclude };