Skip to content

Commit 1173eb4

Browse files
committed
import z from astro/zod
1 parent bd8c7d6 commit 1173eb4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/content.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
import { defineCollection, z } from 'astro:content';
1+
import { defineCollection } from 'astro:content';
22
import { glob } from 'astro/loaders';
3+
import { z } from 'astro/zod';
34

45
const blog = defineCollection({
56
loader: glob({ base: './src/content/blog', pattern: '**/*.{md,mdx}' }),

0 commit comments

Comments
 (0)