From c221f9989fbb8730a1600f80e9e799ff35570b4b Mon Sep 17 00:00:00 2001 From: Timothy Lin Date: Sat, 13 Jul 2024 16:32:51 +0800 Subject: [PATCH] fix: read mdx files instead of md --- examples/next-rsc-dynamic/contentlayer.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/next-rsc-dynamic/contentlayer.config.ts b/examples/next-rsc-dynamic/contentlayer.config.ts index b5c70a7c..443afa3f 100644 --- a/examples/next-rsc-dynamic/contentlayer.config.ts +++ b/examples/next-rsc-dynamic/contentlayer.config.ts @@ -4,7 +4,7 @@ import { makeSource } from 'contentlayer2/source-remote-files' const Post = defineDocumentType(() => ({ name: 'Post', - filePathPattern: `docs/**/*.md`, + filePathPattern: `docs/**/*.mdx`, fields: { title: { type: 'string',