Investigate use Next.js as build tool internally
sergiodxa opened this issue · comments
Sergio Xalambrí commented
Is your feature request related to a problem? Please describe.
We are using old MDX versions #178 and we don't support bundling correctly (e.g. you can use imported components from npm in MDX files but you can't import them from you local without a manual build).
Describe the solution you'd like
Next.js now has these getStaticProps and getStaticPaths that could help us implement Contentz, we could investigate if it's possible to internally use Next.js and have our own pages defined in the Contentz app, then in those pages we could read the file system to detect articles, pages, etc.
Cristian Granda commented
This would be cool! but I don't know where to start