timlrx / contentlayer2

Contentlayer turns your content into data - making it super easy to import MD(X) and CMS content in your app
https://contentlayer.dev
MIT License
153 stars 11 forks source link

Package path ./generated is not exported from package #16

Open TheMikeyRoss opened 3 months ago

TheMikeyRoss commented 3 months ago

I'm using the docs from shadcn/ui and I updated all contentlayer to contentlayer2 and now im getting the error:

Package path ./generated is not exported from package 
timlrx commented 1 month ago

Sorry about that - nextra modifies the internals of next.js so it is hard to check for compatibility. Ideally some one on the team looks into this as contentlayer2 works with the latest version of next.js.