Skip to content

Commit 0ef7e94

Browse files
committed
add basePath to next config type
1 parent cb925e3 commit 0ef7e94

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
@@ -17,6 +17,8 @@ export type NextConfigObject = {
1717
target: 'server' | 'experimental-serverless-trace';
1818
// the output directory for the built app (defaults to ".next")
1919
distDir: string;
20+
// the root at which the nextjs app will be served (defaults to "/")
21+
basePath: string;
2022
sentry?: UserSentryOptions;
2123
} & {
2224
// other `next.config.js` options

0 commit comments

Comments
 (0)