tsconfig.json 795 B

12345678910111213141516171819202122232425262728
  1. {
  2. "compilerOptions": {
  3. "target": "esnext",
  4. "useDefineForClassFields": true,
  5. "module": "esnext",
  6. "moduleResolution": "node",
  7. "strict": true,
  8. "noLib": false,
  9. "sourceMap": true,
  10. "resolveJsonModule": true,
  11. "esModuleInterop": true,
  12. "lib": ["esnext", "dom"],
  13. "baseUrl": ".",
  14. "allowJs": true,
  15. "skipLibCheck": true,
  16. "allowSyntheticDefaultImports": true,
  17. "forceConsistentCasingInFileNames": true,
  18. "jsx": "preserve",
  19. "jsxFactory": "h",
  20. "jsxFragmentFactory": "Fragment",
  21. "paths": {
  22. "@/*": ["src/*"]
  23. },
  24. "types": ["vite/client", "unplugin-icons/types/vue", "element-plus/global"]
  25. },
  26. "include": ["mock/**/*.ts", "src/**/*.ts", "src/**/*.vue", "vite.config.ts"],
  27. "exclude": ["node_modules", "dist", "**/*.js"]
  28. }