Skip to content

Commit

Permalink
astro:content -> astro/zod to import zod (#33)
Browse files Browse the repository at this point in the history
* `astro:content` -> `astro/zod` to import zod

* chore: changeset
  • Loading branch information
MoustaphaDev authored May 9, 2023
1 parent 6d5e66d commit 833393a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/strange-walls-sneeze.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@astrojs/starlight": patch
---

Import zod from `astro/zod` to fix an issue related to importing the `astro:content` virtual module
2 changes: 1 addition & 1 deletion packages/starlight/schema.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { z } from 'astro:content';
import { z } from 'astro/zod';

export function docsSchema() {
return z.object({
Expand Down

0 comments on commit 833393a

Please sign in to comment.