tsconfig.json 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. "extends": "@vue/tsconfig/tsconfig.web.json",
  3. "include": [
  4. "env.d.ts",
  5. "auto-import.d.ts",
  6. "components.d.ts",
  7. "src/**/*.ts",
  8. "src/**/*.tsx",
  9. "src/**/*.vue",
  10. "tests/**/*.ts",
  11. "tests/**/*.tsx"
  12. ],
  13. "compilerOptions": {
  14. "target": "es5",
  15. "ignoreDeprecations": "5.0",
  16. "downlevelIteration": true,
  17. "module": "esnext",
  18. "strict": true,
  19. "jsx": "preserve",
  20. "importHelpers": true,
  21. "moduleResolution": "node",
  22. "skipLibCheck": true,
  23. "esModuleInterop": true,
  24. "allowSyntheticDefaultImports": true,
  25. "suppressImplicitAnyIndexErrors": true,
  26. "forceConsistentCasingInFileNames": true,
  27. "useDefineForClassFields": true,
  28. "sourceMap": true,
  29. "baseUrl": "./",
  30. "types": [
  31. "node",
  32. "element-plus/global"
  33. ],
  34. "paths": {
  35. "@/*": [
  36. "src/*"
  37. ]
  38. },
  39. "lib": [
  40. "esnext",
  41. "dom",
  42. "dom.iterable",
  43. "scripthost"
  44. ]
  45. },
  46. "exclude": [
  47. "node_modules"
  48. ],
  49. "references": [
  50. {
  51. "path": "./tsconfig.config.json"
  52. }
  53. ]
  54. }