tsconfig.json 659 B

123456789101112131415161718192021222324252627
  1. {
  2. "compilerOptions": {
  3. "baseUrl": "./",
  4. "target": "ESNext",
  5. "useDefineForClassFields": true,
  6. "module": "ESNext",
  7. "moduleResolution": "Node",
  8. "strict": true,
  9. "jsx": "preserve",
  10. "sourceMap": true,
  11. "resolveJsonModule": true,
  12. "isolatedModules": true,
  13. "esModuleInterop": true,
  14. "lib": ["ESNext", "DOM"],
  15. "skipLibCheck": true,
  16. "types": [
  17. "vite/client",
  18. "node"
  19. ],
  20. "paths": {
  21. "@/*": ["src/*"],
  22. "@components/*": ["src/components/*"],
  23. }
  24. },
  25. "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
  26. "references": [{ "path": "./tsconfig.node.json" }]
  27. }