40 lines
1.1 KiB
JSON
40 lines
1.1 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",
|
|
"composite": true, // Make sure typescript knows that this module depends on their references
|
|
"plugins": [
|
|
{
|
|
"name": "next"
|
|
}
|
|
],
|
|
"paths": {
|
|
"payload-config": ["./src/payload.config.ts"],
|
|
"@payloadcms/next/layouts/*": ["../next/src/layouts/*"],
|
|
"@payloadcms/next/pages/*": ["../next/src/pages/*"],
|
|
"@payloadcms/next/routes/*": ["../next/src/routes/*"],
|
|
"@payloadcms/next/utilities/*": ["../next/src/utilities/*"]
|
|
}
|
|
},
|
|
"include": [
|
|
"next-env.d.ts",
|
|
".next/types/**/*.ts",
|
|
"**/*.ts",
|
|
"**/*.tsx",
|
|
"../next/src/pages/Login/action.ts"
|
|
],
|
|
"exclude": ["node_modules"],
|
|
"composite": true, // Make sure typescript knows that this module depends on their references
|
|
"references": [{ "path": "../payload" }, { "path": "../next" }]
|
|
}
|