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.
basePath
publicRuntimeConfig
1 parent cb925e3 commit 91121f6Copy full SHA for 91121f6
packages/nextjs/src/config/types.ts
@@ -17,6 +17,10 @@ export type NextConfigObject = {
17
target: 'server' | 'experimental-serverless-trace';
18
// the output directory for the built app (defaults to ".next")
19
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 };
24
sentry?: UserSentryOptions;
25
} & {
26
// other `next.config.js` options
0 commit comments