tsconfig.json 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. ],
  32. "paths": {
  33. "@/*": [
  34. "src/*"
  35. ]
  36. },
  37. "lib": [
  38. "esnext",
  39. "dom",
  40. "dom.iterable",
  41. "scripthost"
  42. ]
  43. },
  44. "exclude": [
  45. "node_modules"
  46. ],
  47. "references": [
  48. {
  49. "path": "./tsconfig.config.json"
  50. }
  51. ]
  52. }