summaryrefslogtreecommitdiff
path: root/apps/web/next.config.ts
blob: 644c70791cfa122a3d266b30af4c9a6403aa655a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import type { NextConfig } from "next";
import { withContentCollections } from "@content-collections/next";

const nextConfig: NextConfig = {
	compiler: {
		removeConsole: process.env.NODE_ENV === "production",
	},
	devIndicators: false,
	reactStrictMode: true,
	productionBrowserSourceMaps: true,
	output: "export",
	trailingSlash: true,
	images: {
		unoptimized: true,
	},
};

export default withContentCollections(nextConfig);