{
  "extends": "../tsconfig.settings.json",
  "compilerOptions": {
    "rootDir": "src",
    "outDir": "lib",
    "baseUrl": ".",
  },
  "include": [
    "src"
  ],
  "exclude": [
    "lib",
    "node_modules",
    "src/**/__tests__/**/*.*"
  ],
  "paths": {
    // Fix "Duplicate identifier" errors caused by multiple dependencies fetching their own copies of type definitions.
    // We tell TypeScript which type definitions module to treat as the canonical one (instead of combining all of them).
    "react": [
      "./node_modules/@types/react/index"
    ],
  },
  "references": [
    { "path": "../core" }
  ]
}