Skip to content

Commit ff77d0c

Browse files
committed
add assetPrefix to NextConfigObject type
1 parent 68a9d56 commit ff77d0c

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
@@ -33,6 +33,8 @@ export type NextConfigObject = {
3333
target?: 'server' | 'experimental-serverless-trace';
3434
// The output directory for the built app (defaults to ".next")
3535
distDir?: string;
36+
// URL location of `_next/static` directory when hosted on a CDN
37+
assetPrefix?: string;
3638
// The root at which the nextjs app will be served (defaults to "/")
3739
basePath?: string;
3840
// Config which will be available at runtime

0 commit comments

Comments
 (0)