alexchantastic / next-mdx-blog-example

An example blog built with Next.js and MDX
https://codesandbox.io/p/devbox/github/alexchantastic/next-mdx-blog-example/tree/main/
MIT License
16 stars 6 forks source link

Seeing an error while importing mdx files "Could not parse import/exports with acorn" #2

Closed victorabraham closed 3 hours ago

victorabraham commented 3 hours ago

For some reason exports statements within MDX are giving the above error for me.

export const metadata = { title: "Generative AI, publishDate: "2024-01-01T00:00:00Z", categories: ["AI"], };

victorabraham commented 3 hours ago

title was missing closing double quotes :( . title: "Generative AI