tsconfig.json 980 B

123456789101112131415161718192021222324252627282930
  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. "paths": {
  16. "@/*": ["src/*"]
  17. },
  18. "types": ["vite/client", "unplugin-icons/types/vue", "element-plus/global"],
  19. "skipLibCheck": true /* Skip type checking all .d.ts files. */,
  20. "allowSyntheticDefaultImports": true /* 允许默认导入 */,
  21. "suppressImplicitAnyIndexErrors": true,
  22. "forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */,
  23. "jsx": "preserve",
  24. "jsxFactory": "h",
  25. "jsxFragmentFactory": "Fragment"
  26. },
  27. "include": ["src/**/*.ts", "src/**/*.vue", "src/typings/**/*.d.ts", "mock/**/*.ts", "vite.config.ts"],
  28. "exclude": ["node_modules", "dist", "**/*.js"]
  29. }