{ "compilerOptions": { "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, "skipLibCheck": true, "strict": false, "noEmit": true, "incremental": true, "esModuleInterop": true, "module": "esnext", "moduleResolution": "node", "resolveJsonModule": true, "isolatedModules": true, "jsx": "preserve", "target": "ESNext", "composite": true, // Make sure typescript knows that this module depends on their references "allowImportingTsExtensions": true, "plugins": [ { "name": "next" } ], "paths": { "payload": ["../payload/src"], "payload/*": ["../payload/src/exports/*"], "@payloadcms/db-mongodb": ["../db-mongodb/src"], "@payloadcms/richtext-lexical": ["../richtext-lexical/src"], "@payloadcms/ui/*": ["../ui/src/exports/*"], "@payloadcms/translations": ["../translations/src/exports/index.ts"], "@payloadcms/translations/client": ["../translations/src/all"], "@payloadcms/translations/api": ["../translations/src/all"], "@payloadcms/next/*": ["../next/src/*"], "payload-config": ["../../src/payload.config.ts"] } }, // "include": ["next-env.d.ts", ".next/types/**/*.ts", "**/*.ts", "**/*.tsx"], "exclude": ["node_modules"], "composite": true, // Make sure typescript knows that this module depends on their references "references": [ { "path": "../payload" }, { "path": "../next" }, { "path": "../ui" }, { "path": "../translations" }, { "path": "../db-mongodb" }, { "path": "../db-postgres" }, { "path": "../richtext-lexical" } ], "include": [ "next-env.d.ts", ".next/types/**/*.ts", "**/*.ts", "**/*.tsx", "../../src/payload.config.ts" ] }