diff --git a/packages/astro/src/core/config/schema.ts b/packages/astro/src/core/config/schema.ts index 85c0b60a7f7b..a4dccb9940ae 100644 --- a/packages/astro/src/core/config/schema.ts +++ b/packages/astro/src/core/config/schema.ts @@ -177,10 +177,7 @@ export const AstroConfigSchema = z.object({ }) .optional() .default({}), - legacy: z - .object({}) - .optional() - .default({}), + legacy: z.object({}).optional().default({}), }); interface PostCSSConfigResult {