tsconfig.json 897 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. {
  2. "compilerOptions": {
  3. "target": "esnext",
  4. "module": "esnext",
  5. "moduleResolution": "Node",
  6. "strict": false,
  7. "jsx": "preserve",
  8. "importHelpers": true,
  9. "experimentalDecorators": true,
  10. "strictFunctionTypes": false,
  11. "skipLibCheck": true,
  12. "esModuleInterop": true,
  13. "isolatedModules": true,
  14. "allowSyntheticDefaultImports": true,
  15. "forceConsistentCasingInFileNames": true,
  16. "sourceMap": true,
  17. "baseUrl": ".",
  18. "allowJs": true,
  19. "resolveJsonModule": true,
  20. "lib": ["dom", "esnext"],
  21. "paths": {
  22. "@/*": ["src/*"],
  23. "@build/*": ["build/*"]
  24. },
  25. "types": [
  26. "node",
  27. "vite/client",
  28. "element-plus/global",
  29. ]
  30. },
  31. "include": [
  32. "mock/*.ts",
  33. "src/**/*.ts",
  34. "src/**/*.tsx",
  35. "src/**/*.vue",
  36. "types/*.d.ts",
  37. "vite.config.ts"
  38. ],
  39. "exclude": ["dist", "**/*.js", "node_modules"]
  40. }