mirror of
https://github.com/cloudflare/vinext.git
synced 2026-09-14 19:04:59 +08:00
c1a78a73d8
* fix(build): support trailing-slash static exports * fix(ci): initialize static export preview routes * fix(build): emit trailing-slash 404 fallback * docs(build): clarify static export page count
10 lines
292 B
JavaScript
10 lines
292 B
JavaScript
/** @type {import("vinext").NextConfig} */
|
|
const nextConfig = {
|
|
output: "export",
|
|
// Directory-style output works on basic file servers and gives every page
|
|
// one canonical URL. Cloudflare's html_handling setting below matches it.
|
|
trailingSlash: true,
|
|
};
|
|
|
|
export default nextConfig;
|