From e4079f94527744a76a86beca87e1c66a0266db18 Mon Sep 17 00:00:00 2001 From: Remco Haszing Date: Sun, 25 Feb 2024 12:58:19 +0100 Subject: [PATCH] examples(with-mdx): update to MDX 3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The example was 2 major versions behind. The `@mdx-js/react` dependency was removed, as it doesn’t work with the app directory. Users should use `mdx-components.tsx` instead. Refs #59693 --- examples/with-mdx/package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index dd2aeec334866..85e4749471543 100644 --- a/examples/with-mdx/package.json +++ b/examples/with-mdx/package.json @@ -6,8 +6,7 @@ "start": "next start" }, "dependencies": { - "@mdx-js/loader": "^1.5.1", - "@mdx-js/react": "^1.6.18", + "@mdx-js/loader": "^3.0.1", "@next/mdx": "^9.1.1", "next": "latest", "react": "^18.2.0",