tsconfig.json 818 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. {
  2. "compilerOptions": {
  3. "target": "esnext",
  4. "useDefineForClassFields": true,
  5. "module": "esnext",
  6. "moduleResolution": "node",
  7. "strict": true,
  8. "jsx": "preserve",
  9. "sourceMap": true,
  10. "resolveJsonModule": true,
  11. "isolatedModules": true,
  12. "esModuleInterop": true,
  13. "lib": [
  14. "esnext",
  15. "dom"
  16. ],
  17. "baseUrl": "./",
  18. "types": [
  19. "node",
  20. "vite/client",
  21. "element-plus/global"
  22. ],
  23. "paths": {
  24. "@/*": [
  25. "src/*"
  26. ],
  27. "api/*": [
  28. "src/api/*"
  29. ],
  30. }
  31. },
  32. "include": [
  33. "src/**/*.ts",
  34. "src/**/*.d.ts",
  35. "src/**/*.tsx",
  36. "src/**/*.vue",
  37. "types/env.d.ts",
  38. "types/*.d.ts"
  39. ],
  40. "exclude": ["node_modules","public"],
  41. "references": [
  42. {
  43. "path": "./tsconfig.config.json"
  44. }
  45. ]
  46. }