| 1 | /** @type {import("next").NextConfig} */ |
| 2 | const nextConfig = { |
| 3 | typescript: { |
| 4 | // Type-check only the Next app code. The default tsconfig.json also |
| 5 | // includes alchemy.run.ts and test/, which import the `alchemy` workspace |
| 6 | // package — its types resolve from packages/alchemy's built lib/, which a |
| 7 | // source-only checkout doesn't have. Those files are covered by the |
| 8 | // repo-wide `tsc -b` instead. |
| 9 | tsconfigPath: "tsconfig.next.json", |
| 10 | }, |
| 11 | }; |
| 12 | |
| 13 | export default nextConfig; |