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. /* Linting */
  16. "strict": true,
  17. "noUnusedLocals": true,
  18. "noUnusedParameters": true,
  19. "noFallthroughCasesInSwitch": true,
  20. "baseUrl": "./",
  21. "paths": {
  22. "@/*": ["src/*"]
  23. },
  24. "types": ["vite/client"]
  25. },
  26. "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"],
  27. "references": [{ "path": "./tsconfig.node.json" }]
  28. }