Skip to content

Commit

Permalink
fix: move logging object validation out of experimental
Browse files Browse the repository at this point in the history
  • Loading branch information
blurrah committed Oct 26, 2023
1 parent b9dd6c4 commit 1c4bd56
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions packages/next/src/server/config-schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -357,12 +357,6 @@ export const configSchema: zod.ZodType<NextConfig> = z.lazy(() =>
memoryLimit: z.number().int().optional(),
})
.optional(),
logging: z
.object({
level: z.literal('verbose').optional(),
fullUrl: z.boolean().optional(),
})
.optional(),
serverMinification: z.boolean().optional(),
serverSourceMaps: z.boolean().optional(),
bundlePagesExternals: z.boolean().optional(),
Expand Down Expand Up @@ -458,6 +452,15 @@ export const configSchema: zod.ZodType<NextConfig> = z.lazy(() =>
path: z.string().optional(),
})
.optional(),
logging: z
.object({
fetches: z
.object({
fullUrl: z.boolean().optional(),
})
.optional(),
})
.optional(),
modularizeImports: z
.record(
z.string(),
Expand Down

0 comments on commit 1c4bd56

Please sign in to comment.