svrjs-nextjs-website/next.config.mjs
Dorian Niemiec 1386869c43
Some checks failed
Deploy Next.js application / deploy (push) Has been cancelled
fix: disable in-memory cache for clustered Next.js
2024-09-08 17:47:30 +02:00

26 lines
443 B
JavaScript

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