Files
payload/packages/next/tsconfig.json
2024-02-27 16:59:11 -05:00

35 lines
957 B
JSON

{
"extends": "../../tsconfig.json",
"compilerOptions": {
"composite": true, // Required for references to work
"noEmit": false /* Do not emit outputs. */,
"emitDeclarationOnly": true,
"outDir": "./dist" /* Specify an output folder for all emitted files. */,
"rootDir": "./src" /* Specify the root folder within your source files. */,
"allowImportingTsExtensions": true,
"sourceMap": true,
"paths": {
"payload-config": ["./src/config.ts"]
}
},
"exclude": [
"src/**/*.spec.js",
"src/**/*.spec.jsx",
"src/**/*.spec.ts",
"src/**/*.spec.tsx",
"src/**/*.json"
],
"include": [
"src/**/*.ts",
"src/**/*.tsx",
"src/withPayload.js" /* Include the withPayload.js file in the build */,
"../payload/src/utilities/isEntityHidden.ts"
],
"references": [
{ "path": "../payload" },
{ "path": "../ui" },
{ "path": "../translations" },
{ "path": "../graphql" }
]
}