tsconfig.app.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. {
  2. "extends": "@vue/tsconfig/tsconfig.dom.json",
  3. "compilerOptions": {
  4. "types": ["unplugin-icons/types/vue", "element-plus/global"],
  5. "target": "esnext",
  6. "module": "esnext",
  7. "moduleResolution": "bundler",
  8. "strict": true,
  9. "noLib": false,
  10. "forceConsistentCasingInFileNames": true,
  11. "allowSyntheticDefaultImports": true,
  12. "strictFunctionTypes": false,
  13. "jsx": "preserve",
  14. "allowJs": true,
  15. "sourceMap": true,
  16. "esModuleInterop": true,
  17. "resolveJsonModule": true,
  18. "experimentalDecorators": true,
  19. "lib": ["dom", "esnext"],
  20. "noImplicitAny": false,
  21. "skipLibCheck": true,
  22. "removeComments": true,
  23. "jsxImportSource": "vue",
  24. "paths": {
  25. "@/*": ["./src/*"],
  26. "@components/*": ["./src/components/*"],
  27. "@style/*": ["./src/styles/*"],
  28. "@images/*": ["./src/assets/static/images/*"],
  29. "types/*": ["./types/*"]
  30. },
  31. "noUnusedLocals": false,
  32. "noUnusedParameters": false,
  33. "noFallthroughCasesInSwitch": true
  34. },
  35. "include": [
  36. "src/**/*.d.ts",
  37. "src/**/*.ts",
  38. "src/**/*.tsx",
  39. "src/**/*.vue",
  40. "types/**/*.d.ts",
  41. "types/**/*.ts",
  42. "config/**/*.ts"
  43. ],
  44. "exclude": [
  45. "node_modules",
  46. "dist",
  47. "dist-ssr",
  48. ".rsbuild",
  49. "**/*.js",
  50. "**/*.md",
  51. "src/**/*.md"
  52. ],
  53. "skipTemplateCodegen": false
  54. }