tsconfig.json 1.0 KB

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