diff --git a/examples/with-mdx/next.config.js b/examples/with-mdx/next.config.js index ef57d1903767ea6fa4a1581607758e4f941d5efb..6257b09cd48883d4b4ecc741be0d671e0645844f 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 f2822fa16648b82b452ad851e47716d70d4645d8..f6abadfcae65e0ed853235322fae5c5138873bc3 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"