Skip to content

Commit e7ee58d

Browse files
Fix tsconfig for next starter (#176)
1 parent fd56852 commit e7ee58d

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

ts/nextjs-starter/next.config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import type { NextConfig } from "next";
22

33
const nextConfig: NextConfig = {
4-
/* config options here */
4+
typescript: {
5+
tsconfigPath: "./tsconfig.vercel.json",
6+
},
57
};
68

79
export default nextConfig;
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
"include": [
4+
"app",
5+
"next-env.d.ts",
6+
".next/types/**/*.ts"
7+
],
8+
"exclude": [
9+
"node_modules"
10+
]
11+
}

0 commit comments

Comments
 (0)