Files
payload/packages/dev/tsconfig.json
2024-01-12 09:14:38 -05:00

49 lines
1.6 KiB
JSON

{
"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/*"],
"payload-config": ["./src/payload.config.ts"],
"@payloadcms/db-mongodb": ["../db-mongodb/src"],
"@payloadcms/richtext-lexical": ["../richtext-lexical/src"],
"@payloadcms/ui/*": ["../ui/src/exports/*"],
"@payloadcms/translations/client": ["../translations/src/all"],
"@payloadcms/translations/api": ["../translations/src/all"],
"@payloadcms/translations/*": ["../translations/src/*"],
"@payloadcms/next/*": ["../next/src/*"]
}
},
"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" }
]
}