tsconfig.json 985 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. {
  2. "compilerOptions": {
  3. "baseUrl": "./",
  4. "target": "esnext",
  5. "useDefineForClassFields": true,
  6. "module": "esnext",
  7. "moduleResolution": "node",
  8. "strict": true,
  9. "jsx": "preserve",
  10. "sourceMap": true,
  11. "resolveJsonModule": true,
  12. "isolatedModules": true,
  13. "esModuleInterop": true,
  14. "allowJs": true,
  15. "skipLibCheck": true /* Skip type checking all .d.ts files. */,
  16. "allowSyntheticDefaultImports": true /* 允许默认导入 */,
  17. "forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */,
  18. "lib": [
  19. "esnext",
  20. "dom"
  21. ],
  22. "types": [
  23. "element-plus/golbal"
  24. ],
  25. "paths": {
  26. "@/*": [
  27. "./src/*"
  28. ]
  29. }
  30. },
  31. "include": [
  32. "src/**/*.ts",
  33. "src/**/*.d.ts",
  34. "src/**/*.tsx",
  35. "src/**/*.vue",
  36. "types/auto-imports.d.ts"
  37. ],
  38. "exclude": ["node_modules", "dist", "**/*.js"],
  39. "references": [
  40. {
  41. "path": "./tsconfig.node.json"
  42. }
  43. ]
  44. }