tsconfig.json 762 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. {
  2. "compilerOptions": {
  3. "baseUrl": ".",
  4. "lib": [
  5. "DOM",
  6. "DOM.Iterable",
  7. "ES2022"
  8. ],
  9. "allowJs": true,
  10. "skipLibCheck": true,
  11. "strict": true,
  12. "noEmit": true,
  13. "esModuleInterop": true,
  14. "module": "esnext",
  15. "moduleResolution": "bundler",
  16. "resolveJsonModule": true,
  17. "isolatedModules": true,
  18. "jsx": "preserve",
  19. "incremental": true,
  20. "plugins": [
  21. {
  22. "name": "next"
  23. }
  24. ],
  25. "paths": {
  26. "@/*": [
  27. "./src/*"
  28. ],
  29. "@payload-config": [
  30. "./src/payload.config.ts"
  31. ]
  32. },
  33. "target": "ES2022",
  34. },
  35. "include": [
  36. "next-env.d.ts",
  37. "**/*.ts",
  38. "**/*.tsx",
  39. ".next/types/**/*.ts"
  40. ],
  41. "exclude": [
  42. "node_modules"
  43. ],
  44. }