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.

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