tsconfig.json 911 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {
  2. "compilerOptions": {
  3. "target": "esnext",
  4. "module": "esnext",
  5. "strict": true,
  6. "jsx": "preserve",
  7. "moduleResolution": "node",
  8. "experimentalDecorators": true,
  9. "skipLibCheck": true,
  10. "esModuleInterop": true,
  11. "allowSyntheticDefaultImports": true,
  12. "forceConsistentCasingInFileNames": true,
  13. "useDefineForClassFields": true,
  14. "resolveJsonModule": true,
  15. "sourceMap": true,
  16. "baseUrl": ".",
  17. "types": [
  18. "webpack-env"
  19. ],
  20. "paths": {
  21. "@/*": [
  22. "src/*"
  23. ],
  24. "@pc/*": [
  25. "src/packages/pc/*"
  26. ],
  27. "@mobile/*": [
  28. "src/packages/mobile/*"
  29. ]
  30. },
  31. "lib": [
  32. "esnext",
  33. "dom",
  34. "dom.iterable",
  35. "scripthost"
  36. ]
  37. },
  38. "include": [
  39. "src/**/*.ts",
  40. "src/**/*.tsx",
  41. "src/**/*.vue",
  42. "tests/**/*.ts",
  43. "tests/**/*.tsx"
  44. ],
  45. "exclude": [
  46. "node_modules"
  47. ]
  48. }