Open
Description
So I don't know if it is the same reason, but the issue happened to me on latest Frontmatter and Astro. I however do not get errors in the frontmatter output. Also happens on both npm and pnpm.
My content.config.ts
import { defineCollection, z } from 'astro:content'; import { glob } from 'astro/loaders'; const blog = defineCollection({ loader: glob({ pattern: '**/*.md', base: "./src/content/blog" }), schema:({ image }) => z.object({ title: z.string(), description: z.string(), createdAt: z.string(), updatedAt: z.string(), tags: z.array(z.string()), image: image(), author: z.string().optional(), }), }); export const collections = { blog, };
Metadata
Metadata
Assignees
Labels
No labels