Files
novarix.uk/next.config.ts
T
Kismet Hasanaj ec83a0d879 Initial-commit
2026-05-02 23:53:52 +02:00

18 lines
543 B
TypeScript

import type { NextConfig } from "next";
// Build the site as a fully static export so it can be served by plain
// nginx with no Node runtime on the server. The `npm run build` step
// produces an `out/` directory containing all the HTML, CSS, JS, and
// image assets.
const nextConfig: NextConfig = {
reactStrictMode: true,
output: "export",
images: {
// next/image cannot use the optimisation server in static export mode,
// so images are served as-is from /public.
unoptimized: true,
},
};
export default nextConfig;