tsconfig.json 1.2 KB

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