15 lines
412 B
TypeScript
15 lines
412 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
// Export the whole app as static HTML/JS into `out/` (no Node server).
|
|
output: "export",
|
|
// Emit `/route/index.html` so any static host serves clean URLs.
|
|
trailingSlash: true,
|
|
images: {
|
|
// Required for `output: export` — no on-demand optimization server exists.
|
|
unoptimized: true,
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|