tsconfig.json 863 B

12345678910111213141516171819202122232425262728293031323334
  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": [
  27. "mock/**/*.ts",
  28. "src/**/*.ts",
  29. "src/**/*.vue",
  30. "vite.config.ts",
  31. "src/views/system/notice/components/myvue"
  32. ],
  33. "exclude": ["node_modules", "dist", "**/*.js"]
  34. }