next-contentlayer
: BREAKING Change withContentlayer
API and introduce createContentlayerPlugin
#140
Labels
Milestone
Given many users are intuitively using the
withContentlayer
API "directly" as a Next.js plugin as opposed to "calling it" before using, I'm proposing to change thewithContentlayer
API to the following:Before
After
Additionally there will also be a
createContentlayerPlugin
API which allows for providing some non-default Contentlayer configuration options:The text was updated successfully, but these errors were encountered: