tsconfig.json 741 B

12345678910111213141516171819202122232425262728
  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. "@views/*": ["src/views/*"],
  24. }
  25. },
  26. "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue", "src/layout/components/Header/imkit/index.js"],
  27. "references": [{ "path": "./tsconfig.node.json" }]
  28. }