tsconfig.json 874 B

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