Skip to content

Commit 6611e0a

Browse files
committed
add distDir to nextjs config type
1 parent 0de61f8 commit 6611e0a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/nextjs/src/config/types.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ export type NextConfigObject = {
1515
webpack: WebpackConfigFunction;
1616
// whether to build serverless functions for all pages, not just API routes
1717
target: 'server' | 'experimental-serverless-trace';
18+
// the output directory for the built app (defaults to ".next")
19+
distDir: string;
1820
sentry?: {
1921
disableServerWebpackPlugin?: boolean;
2022
disableClientWebpackPlugin?: boolean;

0 commit comments

Comments
 (0)