Update next.config.mjs
This commit is contained in:
parent
9a540bca4a
commit
f47298dd2e
|
|
@ -1,4 +1,3 @@
|
||||||
import nextMDX from "@next/mdx";
|
|
||||||
import path from "path";
|
import path from "path";
|
||||||
|
|
||||||
/** @type {import('next').NextConfig} */
|
/** @type {import('next').NextConfig} */
|
||||||
|
|
@ -185,11 +184,4 @@ const nextConfig = {
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
const withMDX = nextMDX({
|
export default nextConfig;
|
||||||
extension: /\.mdx?$/,
|
|
||||||
options: {
|
|
||||||
providerImportSource: '@mdx-js/react',
|
|
||||||
},
|
|
||||||
});
|
|
||||||
|
|
||||||
export default withMDX(nextConfig);
|
|
||||||
Loading…
Reference in New Issue