SurfSense/surfsense_web/next.config.ts

30 lines
612 B
TypeScript
Raw Normal View History

2025-07-27 10:05:37 -07:00
import { createMDX } from "fumadocs-mdx/next";
import type { NextConfig } from "next";
import createNextIntlPlugin from "next-intl/plugin";
// Create the next-intl plugin
const withNextIntl = createNextIntlPlugin("./i18n/request.ts");
2025-04-07 23:47:06 -07:00
const nextConfig: NextConfig = {
output: "standalone",
2025-07-27 10:05:37 -07:00
typescript: {
ignoreBuildErrors: true,
},
eslint: {
ignoreDuringBuilds: true,
},
images: {
remotePatterns: [
{
protocol: "https",
2025-08-23 19:40:29 -07:00
hostname: "**",
},
],
},
2025-04-07 23:47:06 -07:00
};
// Wrap the config with MDX and next-intl plugins
2025-04-22 02:24:13 -07:00
const withMDX = createMDX({});
export default withNextIntl(withMDX(nextConfig));