From a964dc825ecea1e35fb460184828974e00b7d6d6 Mon Sep 17 00:00:00 2001 From: Jason Dreyzehner Date: Thu, 24 Oct 2019 02:52:30 -0400 Subject: [PATCH] update with-mdx example to latest packages (#9186) --- examples/with-mdx/next.config.js | 2 +- examples/with-mdx/package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/with-mdx/next.config.js b/examples/with-mdx/next.config.js index ef57d19037..6257b09cd4 100644 --- a/examples/with-mdx/next.config.js +++ b/examples/with-mdx/next.config.js @@ -1,4 +1,4 @@ -const withMDX = require('@zeit/next-mdx')({ +const withMDX = require('@next/mdx')({ extension: /\.mdx?$/ }) module.exports = withMDX({ diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index f2822fa166..f6abadfcae 100644 --- a/examples/with-mdx/package.json +++ b/examples/with-mdx/package.json @@ -7,8 +7,8 @@ "start": "next start" }, "dependencies": { - "@mdx-js/mdx": "^1.1.0", - "@zeit/next-mdx": "1.2.0", + "@mdx-js/loader": "^1.5.1", + "@next/mdx": "^9.1.1", "next": "latest", "react": "^16.8.6", "react-dom": "^16.8.6" -- GitLab