diff --git a/.changeset/kind-onions-reply.md b/.changeset/kind-onions-reply.md new file mode 100644 index 000000000..8092d3772 --- /dev/null +++ b/.changeset/kind-onions-reply.md @@ -0,0 +1,5 @@ +--- +'@astrojs/mdx': patch +--- + +Fix dev server reload performance when globbing from an MDX layout diff --git a/packages/integrations/mdx/src/astro-data-utils.ts b/packages/integrations/mdx/src/astro-data-utils.ts index f3d04e431..6bd2186e2 100644 --- a/packages/integrations/mdx/src/astro-data-utils.ts +++ b/packages/integrations/mdx/src/astro-data-utils.ts @@ -20,13 +20,17 @@ export function rehypeApplyFrontmatterExport(pageFrontmatter: Record