Replies: 1 comment
-
EXACT SAME ISSUE |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I am using MDX files for content for a static site. The files sit in a folder and I am using a utility function along with compileMDX.
`export async function parseMdxFile(filePath: string) {
try {
const source = await fs.promises.readFile(filePath, 'utf8')
Trying to use like this
Additional information
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions