tsconfig.json 872 B

1234567891011121314151617181920212223242526
  1. {
  2. "compilerOptions": {
  3. "target": "esnext",
  4. "useDefineForClassFields": true,
  5. "module": "esnext",
  6. "moduleResolution": "node",
  7. "strict": true,
  8. "jsx": "preserve",
  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", "element-plus/global", "unplugin-icons/types/vue"],
  19. "skipLibCheck": true /* Skip type checking all .d.ts files. */,
  20. "allowSyntheticDefaultImports": true /* 允许默认导入 */,
  21. "forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */
  22. },
  23. "include": ["src/**/*.ts", "src/**/*.vue", "src/types/**/*.d.ts"],
  24. "exclude": ["node_modules", "dist", "**/*.js"],
  25. "references": [{ "path": "./tsconfig.node.json" }]
  26. }