diff --git a/website/next.config.js b/website/next.config.mjs similarity index 81% rename from website/next.config.js rename to website/next.config.mjs index bd738d33f..06adac6b5 100644 --- a/website/next.config.js +++ b/website/next.config.mjs @@ -1,4 +1,6 @@ -const withMDX = require('@next/mdx')({ +import MDX from '@next/mdx' + +const withMDX = MDX({ extension: /\.mdx?$/, options: { providerImportSource: '@mdx-js/react', @@ -15,4 +17,4 @@ const nextConfig = withMDX({ pageExtensions: ['js', 'jsx', 'ts', 'tsx', 'md', 'mdx'], }) -module.exports = nextConfig +export default nextConfig