tsconfig.json 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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": [
  36. "meta.ts",
  37. "src/**/*.js",
  38. "src/*.ts",
  39. "src/**/*.ts",
  40. "src/**/*.d.ts",
  41. "src/**/*.tsx",
  42. "src/**/*.vue"
  43. ],
  44. "vueCompilerOptions": {
  45. "jsxTemplates": true,
  46. "experimentalRfc436": true
  47. }
  48. }