Skip to content

Commit 91121f6

Browse files
committed
add basePath and publicRuntimeConfig to next config type
1 parent cb925e3 commit 91121f6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/nextjs/src/config/types.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ 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;
22+
// config which will be available at runtime
23+
publicRuntimeConfig: { [key: string]: unknown };
2024
sentry?: UserSentryOptions;
2125
} & {
2226
// other `next.config.js` options

0 commit comments

Comments
 (0)