{
  "extends": "../../../tsconfig.json",
  "compilerOptions": {
    "composite": true,
    "types": ["node"],
    "outDir": "./lib",
    // Published maps must retain their sources because runtime/src is not shipped.
    "inlineSources": true,
    // Keep incremental metadata under lib so clearing generated outputs also
    // invalidates the runtime build cache for worklet-runtime artifacts.
    "tsBuildInfoFile": "./lib/tsconfig.tsbuildinfo",
    "paths": {
      // Resolve public self-references back to source while building
      // runtime itself, so the emitted lib output never becomes its own input.
      "@lynx-js/react/worklet-runtime/bindings": ["./src/worklet-runtime/bindings/index.ts"],
      "@lynx-js/react/hooks": ["./src/core/hooks/react.ts"],
      "@lynx-js/react/lepus/hooks": ["./src/core/hooks/mainThread.ts"],
    },
    "rootDir": "./src",
    "jsx": "react-jsx",
    "jsxImportSource": "./",
  },
  "include": [
    "debug",
    "jsx-dev-runtime",
    "jsx-runtime",
    "lepus",
    "src",
    "types/types.d.ts",
    "types/internal-preact.d.ts",
  ],
}
