tsconfig.json 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. {
  2. "compilerOptions": {
  3. "target": "esnext",
  4. "module": "esnext",
  5. "moduleResolution": "node",
  6. "strict": false,
  7. "jsx": "preserve",
  8. "importHelpers": true,
  9. "experimentalDecorators": true,
  10. "strictFunctionTypes": false,
  11. "skipLibCheck": true,
  12. "esModuleInterop": true,
  13. "isolatedModules": true,
  14. "allowSyntheticDefaultImports": true,
  15. "forceConsistentCasingInFileNames": true,
  16. "sourceMap": true,
  17. "baseUrl": ".",
  18. "allowJs": true,
  19. "resolveJsonModule": true,
  20. "lib": [
  21. "dom",
  22. "esnext"
  23. ],
  24. "incremental": true,
  25. "paths": {
  26. "@/*": [
  27. "src/*"
  28. ],
  29. "/@/*": [
  30. "src/*"
  31. ],
  32. "#/*": [
  33. "types/*"
  34. ],
  35. "/#/*": [
  36. "types/*"
  37. ],
  38. "@build/*": [
  39. "build/*"
  40. ]
  41. },
  42. "types": [
  43. "node",
  44. "vite/client",
  45. "unplugin-vue-define-options/macros-global"
  46. ],
  47. "typeRoots": [
  48. "./node_modules/@types/",
  49. "./types"
  50. ]
  51. },
  52. "include": [
  53. "mock/*.ts",
  54. "src/**/*.ts",
  55. "src/**/*.d.ts",
  56. "src/**/*.tsx",
  57. "src/**/*.vue",
  58. "types/*.d.ts",
  59. "vite.config.ts"
  60. ],
  61. "exclude": [
  62. "node_modules",
  63. "dist",
  64. "**/*.js"
  65. ]
  66. }