10 lines
310 B
TypeScript
10 lines
310 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
output: 'export',
|
|
// Emit each route as a folder with index.html (e.g. admin/login/index.html)
|
|
// so static hosts (nginx) can serve clean URLs without custom rewrite rules.
|
|
trailingSlash: true,
|
|
};
|
|
export default nextConfig;
|