NextJS MDX Starter
Usage of exportPathMap for defining routes is discouraged now that you can handle it at the page level. We could probably add a warning though.
I had to switch from glob-fs to fast-glob because files were being duplicated on refresh. glob-fs is also no longer maintained and fast-glob is.
How Gatsby does styled components: https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-styled-components/src/gatsby-ssr.js
Dom's boilerplate: https://github.com/domitriusclark/nextjs-mdx
NextJS Styled components tutorial: https://alehatsman.com/posts/static_blog_generator_using_nextjs_styledcomponents_mdx.html
Module path aliases: https://nextjs.org/docs/advanced-features/module-path-aliases
npm init next-app
npm i @next/mdx @mdx-js/loader(https://www.npmjs.com/package/@next/mdx)