tsconfig.json 849 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. },
  28. "lib": [
  29. "esnext",
  30. "dom",
  31. "dom.iterable",
  32. "scripthost"
  33. ]
  34. },
  35. "include": [
  36. "src/**/*.ts",
  37. "src/**/*.tsx",
  38. "src/**/*.vue",
  39. "tests/**/*.ts",
  40. "tests/**/*.tsx"
  41. ],
  42. "exclude": [
  43. "node_modules"
  44. ]
  45. }