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.

35 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. "@pureadmin/utils",
  21. "responsive-storage",
  22. "element-resize-detector"
  23. ];
  24. /**
  25. *
  26. * `@iconify-icons/` `exclude` 使
  27. */
  28. const exclude = [
  29. "@iconify-icons/ep",
  30. "@iconify-icons/ri",
  31. "@pureadmin/theme/dist/browser-utils"
  32. ];
  33. export { include, exclude };