2024-06-24 10:02:18 +02:00
|
|
|
import nextra from "nextra";
|
|
|
|
|
2024-06-15 14:55:33 +02:00
|
|
|
/** @type {import('next').NextConfig} */
|
2024-08-08 11:21:56 +02:00
|
|
|
const NextConfig = {
|
|
|
|
images: {
|
|
|
|
remotePatterns: [
|
|
|
|
{
|
|
|
|
protocol: "https",
|
|
|
|
hostname: "cdn.sanity.io",
|
|
|
|
port: "",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
2024-09-07 14:25:11 +02:00
|
|
|
eslint: {
|
|
|
|
ignoreDuringBuilds: true,
|
|
|
|
},
|
2024-09-08 17:47:30 +02:00
|
|
|
cacheMaxMemorySize: 0,
|
2024-09-08 16:12:17 +02:00
|
|
|
poweredByHeader: false
|
2024-08-08 11:21:56 +02:00
|
|
|
};
|
2024-06-24 10:02:18 +02:00
|
|
|
|
|
|
|
const withNextra = nextra({
|
|
|
|
theme: "nextra-theme-docs",
|
|
|
|
themeConfig: "./theme.config.tsx",
|
|
|
|
});
|
2024-06-15 14:55:33 +02:00
|
|
|
|
2024-06-24 10:02:18 +02:00
|
|
|
export default withNextra(NextConfig);
|