Skip to content

Commit

Permalink
fix: read mdx files instead of md
Browse files Browse the repository at this point in the history
  • Loading branch information
timlrx committed Jul 13, 2024
1 parent 6ee2b75 commit c221f99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/next-rsc-dynamic/contentlayer.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit c221f99

Please sign in to comment.