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.
assetPrefix
NextConfigObject
1 parent 676a33f commit cbde2bdCopy full SHA for cbde2bd
packages/nextjs/src/config/types.ts
@@ -33,6 +33,8 @@ export type NextConfigObject = {
33
target?: 'server' | 'experimental-serverless-trace';
34
// The output directory for the built app (defaults to ".next")
35
distDir?: string;
36
+ // URL location of `_next/static` directory when hosted on a CDN
37
+ assetPrefix?: string;
38
// The root at which the nextjs app will be served (defaults to "/")
39
basePath?: string;
40
// Config which will be available at runtime
0 commit comments