tsconfig.json 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. {
  2. "compilerOptions": {
  3. "target": "esnext",
  4. "module": "esnext",
  5. "moduleResolution": "Node",
  6. "strict": false,
  7. "jsx": "preserve",
  8. "importHelpers": true,
  9. "experimentalDecorators": true,
  10. "strictFunctionTypes": false,
  11. "skipLibCheck": true,
  12. "esModuleInterop": true,
  13. "isolatedModules": true,
  14. "allowSyntheticDefaultImports": true,
  15. "forceConsistentCasingInFileNames": true,
  16. "sourceMap": true,
  17. "baseUrl": ".",
  18. "allowJs": false,
  19. "resolveJsonModule": true,
  20. "lib": ["dom", "esnext"],
  21. "incremental": true,
  22. "paths": {
  23. "@/*": ["src/*"],
  24. "@build/*": ["build/*"]
  25. },
  26. "types": [
  27. "node",
  28. "vite/client",
  29. "element-plus/global",
  30. "@pureadmin/table/volar",
  31. "@pureadmin/descriptions/volar",
  32. "unplugin-vue-define-options/macros-global"
  33. ],
  34. "typeRoots": ["./node_modules/@types/", "./types"]
  35. },
  36. "include": [
  37. "mock/*.ts",
  38. "src/**/*.ts",
  39. "src/**/*.tsx",
  40. "src/**/*.vue",
  41. "types/*.d.ts",
  42. "vite.config.ts"
  43. ],
  44. "exclude": ["node_modules", "dist", "**/*.js"]
  45. }