diff --git a/lib/mdx.ts b/lib/mdx.ts index 25f3580..bdc0548 100644 --- a/lib/mdx.ts +++ b/lib/mdx.ts @@ -62,7 +62,7 @@ export async function getFileBySlug(type: 'authors' | 'blog', slug: string | source, // mdx imports can be automatically source from the components directory cwd: path.join(root, 'components'), - xdmOptions(options, frontmatter) { + mdxOptions(options, frontmatter) { // this is the recommended way to add custom remark/rehype plugins: // The syntax might look weird, but it protects you in case we add/remove // plugins in the future. diff --git a/package-lock.json b/package-lock.json index d987b05..f6298e5 100644 Binary files a/package-lock.json and b/package-lock.json differ diff --git a/package.json b/package.json index 53e82a3..98bef6d 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ "eslint-config-prettier": "^8.5.0", "eslint-plugin-prettier": "^4.2.1", "file-loader": "^6.2.0", - "globby": "13.1.2", + "globby": "11.0.3", "husky": "^8.0.1", "inquirer": "^9.1.3", "lint-staged": "^13.0.3",