We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd56852 commit e7ee58dCopy full SHA for e7ee58d
ts/nextjs-starter/next.config.ts
@@ -1,7 +1,9 @@
1
import type { NextConfig } from "next";
2
3
const nextConfig: NextConfig = {
4
- /* config options here */
+ typescript: {
5
+ tsconfigPath: "./tsconfig.vercel.json",
6
+ },
7
};
8
9
export default nextConfig;
ts/nextjs-starter/tsconfig.vercel.json
@@ -0,0 +1,11 @@
+{
+ "extends": "./tsconfig.json",
+ "include": [
+ "app",
+ "next-env.d.ts",
+ ".next/types/**/*.ts"
+ ],
+ "exclude": [
+ "node_modules"
10
+ ]
11
+}
0 commit comments