tsconfig.json 1020 B

123456789101112131415161718192021222324252627282930313233343536
  1. {
  2. "compilerOptions": {
  3. "target": "ESNext",
  4. "allowJs": true,
  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. "noUnusedLocals": true,
  17. "paths": {
  18. "~/*": ["./src/*"],
  19. "@composables/*": ["./src/composables/*"],
  20. "@components/*": ["./src/components/*"],
  21. "@helpers/*": ["./src/helpers/*"],
  22. "@modules/*": ["./src/modules/*"],
  23. "@workers/*": ["./src/workers/*"],
  24. "@functional/*": ["./src/helpers/functional/*"]
  25. },
  26. "types": [
  27. "vite/client",
  28. "unplugin-icons/types/vue",
  29. "unplugin-fonts/client",
  30. "vite-plugin-pages/client",
  31. "vite-plugin-vue-layouts/client",
  32. "vite-plugin-pwa/client"
  33. ]
  34. },
  35. "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"]
  36. }