tsconfig.json 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {
  2. "compilerOptions": {
  3. "target": "ESNext",
  4. "useDefineForClassFields": true,
  5. "module": "ESNext",
  6. "moduleResolution": "node",
  7. "strict": true,
  8. "jsx": "preserve",
  9. "sourceMap": true,
  10. "resolveJsonModule": true,
  11. "isolatedModules": true,
  12. "esModuleInterop": true,
  13. "lib": ["ESNext", "DOM"],
  14. "skipLibCheck": true,
  15. "noUnusedLocals": true,
  16. "paths": {
  17. "~/*": ["./src/*"],
  18. "@composables/*": ["./src/composables/*"],
  19. "@components/*": ["./src/components/*"],
  20. "@helpers/*": ["./src/helpers/*"],
  21. "@modules/*": ["./src/modules/*"],
  22. "@workers/*": ["./src/workers/*"],
  23. "@functional/*": ["./src/helpers/functional/*"]
  24. },
  25. "types": [
  26. "vite/client",
  27. "unplugin-icons/types/vue",
  28. "vite-plugin-pages/client",
  29. "vite-plugin-vue-layouts/client"
  30. ]
  31. },
  32. "include": [
  33. "meta.ts",
  34. "src/**/*.ts",
  35. "src/**/*.d.ts",
  36. "src/**/*.tsx",
  37. "src/**/*.vue"
  38. ],
  39. "vueCompilerOptions": {
  40. "jsxTemplates": true,
  41. "experimentalRfc436": true
  42. }
  43. }