Updated on

The contentlayer.config.ts file is used to define the document types for your blog as well as define the source of your content (mdx).

You can read more about the document types in the documentation and about the mdx source in the here.

This file also contains all the mdx plugin configuration as well as the code used to generate tags and search indexes.