Skip to content

Commit 5708507

Browse files
rickstaaclaude
andauthored
chore: commit the module resolution Next already enforces (#767)
next 16.2 rewrites tsconfig.json on every dev and build run, setting moduleResolution to bundler, so the committed "node" value left every checkout permanently dirty and reserialized without Prettier. It also split resolution in two: CI type-checks a clean checkout with node, which ignores package.json exports maps, while Vercel builds with bundler, which honours them. That is how a private rainbowkit deep import passed typecheck for months. Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent ef6f93e commit 5708507

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"noEmit": true,
1818
"esModuleInterop": true,
1919
"module": "esnext",
20-
"moduleResolution": "node",
20+
"moduleResolution": "bundler",
2121
"resolveJsonModule": true,
2222
"isolatedModules": true,
2323
"jsx": "react-jsx",

0 commit comments

Comments
 (0)