tsconfig.json 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. "downlevelIteration": true,
  16. "module": "esnext",
  17. "strict": true,
  18. "jsx": "preserve",
  19. "importHelpers": true,
  20. "moduleResolution": "node",
  21. "skipLibCheck": true,
  22. "esModuleInterop": true,
  23. "allowSyntheticDefaultImports": true,
  24. "suppressImplicitAnyIndexErrors": true,
  25. "forceConsistentCasingInFileNames": true,
  26. "useDefineForClassFields": true,
  27. "sourceMap": true,
  28. "baseUrl": "./",
  29. "types": [
  30. "node",
  31. "element-plus/global"
  32. ],
  33. "paths": {
  34. "@/*": [
  35. "src/*"
  36. ]
  37. },
  38. "lib": [
  39. "esnext",
  40. "dom",
  41. "dom.iterable",
  42. "scripthost"
  43. ]
  44. },
  45. "exclude": [
  46. "node_modules"
  47. ],
  48. "references": [
  49. {
  50. "path": "./tsconfig.config.json"
  51. }
  52. ]
  53. }