svrjs-nextjs-website/next.config.mjs
2024-08-08 14:51:56 +05:30

21 lines
352 B
JavaScript

import nextra from "nextra";
/** @type {import('next').NextConfig} */
const NextConfig = {
images: {
remotePatterns: [
{
protocol: "https",
hostname: "cdn.sanity.io",
port: "",
},
],
},
};
const withNextra = nextra({
theme: "nextra-theme-docs",
themeConfig: "./theme.config.tsx",
});
export default withNextra(NextConfig);