{
  "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. */,
    "sourceMap": true
  },
  "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 */
  ],
  "references": [
    { "path": "../payload" },
    { "path": "../ui" },
    { "path": "../translations" },
    { "path": "../graphql" }
  ]
}
