tsconfig.json 1010 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. "@public/*": [
  22. "public/*"
  23. ],
  24. "@/*": [
  25. "src/*"
  26. ],
  27. "@pc/*": [
  28. "src/packages/pc/*"
  29. ],
  30. "@mobile/*": [
  31. "src/packages/mobile/*"
  32. ]
  33. },
  34. "lib": [
  35. "esnext",
  36. "dom",
  37. "dom.iterable",
  38. "scripthost"
  39. ]
  40. },
  41. "include": [
  42. "src/**/*.ts",
  43. "src/**/*.tsx",
  44. "src/**/*.vue",
  45. "tests/**/*.ts",
  46. "tests/**/*.tsx"
  47. ],
  48. "exclude": [
  49. "node_modules"
  50. ]
  51. }