tsconfig.json 740 B

123456789101112131415161718192021222324252627282930
  1. {
  2. "compilerOptions": {
  3. "target": "ES2020",
  4. "useDefineForClassFields": true,
  5. "module": "ESNext",
  6. "lib": ["ES2020", "DOM", "DOM.Iterable"],
  7. "skipLibCheck": true,
  8. /* Bundler mode */
  9. "moduleResolution": "bundler",
  10. "allowImportingTsExtensions": true,
  11. "resolveJsonModule": true,
  12. "isolatedModules": true,
  13. "noEmit": true,
  14. "jsx": "preserve",
  15. "baseUrl": "./",
  16. "paths": {
  17. "@/*": ["src/*"]
  18. },
  19. "types": ["vite/client"],
  20. /* Linting */
  21. "strict": true,
  22. "noUnusedLocals": true,
  23. "noUnusedParameters": true,
  24. "noFallthroughCasesInSwitch": true
  25. },
  26. "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"],
  27. "references": [{ "path": "./tsconfig.node.json" }]
  28. }