tsconfig.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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": false,
  19. "resolveJsonModule": true,
  20. "lib": [
  21. "dom",
  22. "esnext"
  23. ],
  24. "incremental": true,
  25. "paths": {
  26. "@/*": [
  27. "src/*"
  28. ],
  29. "@build/*": [
  30. "build/*"
  31. ]
  32. },
  33. "types": [
  34. "node",
  35. "vite/client",
  36. "element-plus/global",
  37. "@pureadmin/table/volar",
  38. "@pureadmin/descriptions/volar",
  39. "unplugin-vue-define-options/macros-global"
  40. ],
  41. "typeRoots": [
  42. "./node_modules/@types/",
  43. "./types"
  44. ]
  45. },
  46. "include": [
  47. "mock/*.ts",
  48. "src/**/*.ts",
  49. "src/**/*.tsx",
  50. "src/**/*.vue",
  51. "types/*.d.ts",
  52. "vite.config.ts"
  53. ],
  54. "exclude": [
  55. "node_modules",
  56. "dist",
  57. "**/*.js"
  58. ],
  59. "vueCompilerOptions": {
  60. "plugins": [
  61. "@vue/language-plugin-pug"
  62. ]
  63. }
  64. }