18 lines
543 B
TypeScript
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;
|