Skip to content

Commit f48bbaa

Browse files
lobsterkatieonurtemizkan
authored andcommitted
chore(nextjs): Add incremental option to nextjs integration test tsconfig (#4248)
Recently[1], nextjs started auto-defaulting the `incremental` tsconfig option[2] (which caches certain information build to build) to `true` in nextjs projects using typescript, by modifying the projects' `tsconfig` files. This incorporates that `tsconfig` change into the app we use for integration tests. [1] vercel/next.js#29169 [2] https://www.typescriptlang.org/tsconfig#incremental
1 parent 33991ad commit f48bbaa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/nextjs/test/integration/tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"resolveJsonModule": true,
1717
"skipLibCheck": true,
1818
"strict": true,
19-
"target": "esnext"
19+
"target": "esnext",
20+
"incremental": true
2021
},
2122
"exclude": ["node_modules"],
2223
"include": ["**/*.ts", "**/*.tsx"]

0 commit comments

Comments
 (0)