Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/contentlayerdev/contentlayer
/ contentlayer.config.ts
File
contentlayer.config.ts
examples/node-script/contentlayer.config.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ defineDocumentType, makeSource } from
'contentlayer/source-files'
2
3
const
Post = defineDocumentType(() => ({
4
name:
'Post'
,
Callers
nothing calls this directly
Calls
2
defineDocumentType
Function · 0.90
makeSource
Function · 0.90
Tested by
no test coverage detected