{
  "extends": "../../tsconfig.json",
  "compilerOptions": {
    "composite": true, // Required for packages/db-mongodb to build
    "noEmit": false /* Do not emit outputs. */,
    "emitDeclarationOnly": true,
    "rootDir": "./src" /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */,
    "outDir": "./dist" /* Redirect output structure to the directory. */,
    "paths": {
      "payload/auth": ["./src/auth/types.ts"],
      "payload/config": ["./src/config/types.ts"],
      "payload/generated-types": ["./src/generated-types.ts"],
      "payload/types": ["./src/types/index.ts"]
    },
    "types": ["jest", "node", "@types/jest"],
    "lib": ["dom", "dom.iterable", "esnext"]
  },
  "exclude": [
    "dist",
    "build",
    "tests",
    "test",
    "node_modules",
    ".eslintrc.js",
    "src/**/*.spec.js",
    "src/**/*.spec.jsx",
    "src/**/*.spec.ts",
    "src/**/*.spec.tsx",
    "temp"
  ],
  /* Like tsconfig.build.json, but includes test directory and doesnt emit anything */
  "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.d.ts", "src/**/*.json"],
  "ts-node": {
    "swc": true
  },
  "references": [{ "path": "../translations" }]
}
