tsconfig.json 976 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. {
  2. "include": [
  3. "**/*.ts",
  4. "**/*.tsx",
  5. "**/.server/**/*.ts",
  6. "**/.server/**/*.tsx",
  7. "**/.client/**/*.ts",
  8. "**/.client/**/*.tsx",
  9. ".react-router/types/**/*",
  10. ],
  11. "compilerOptions": {
  12. "lib": [
  13. "dom",
  14. "dom.iterable",
  15. "es2022"
  16. ],
  17. "target": "es2022",
  18. "types": [
  19. "@react-router/node",
  20. "vite/client",
  21. ],
  22. "rootDirs": [
  23. ".",
  24. "./.react-router/types"
  25. ],
  26. "allowJs": true,
  27. "skipLibCheck": true,
  28. "esModuleInterop": true,
  29. "allowSyntheticDefaultImports": true,
  30. "strict": true,
  31. "forceConsistentCasingInFileNames": true,
  32. "noFallthroughCasesInSwitch": true,
  33. "module": "esnext",
  34. "moduleResolution": "bundler",
  35. "resolveJsonModule": true,
  36. "isolatedModules": true,
  37. "jsx": "react-jsx",
  38. "baseUrl": ".",
  39. "paths": {
  40. "#/*": [
  41. "./src/*"
  42. ]
  43. },
  44. // Vite takes care of building everything, not tsc.
  45. "noEmit": true
  46. }
  47. }