Kumasy-Marketing/next.config.ts
2026-09-20 01:52:28 +02:00

17 lines
516 B
TypeScript

import path from "node:path";
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
turbopack: {
// A stray package-lock.json sits in a parent directory; pin the root to
// this project so Turbopack does not treat it as a workspace.
root: path.join(__dirname),
},
images: {
// Serve the source PNGs untouched. The device mockups are transparent
// and pixel-aligned; resampling them softens the UI text inside.
unoptimized: true,
},
};
export default nextConfig;