Static export (#2)
parent
7ab65fe1a0
commit
bc03191a0b
@ -1 +1,17 @@
|
||||
module.exports = {};
|
||||
/**
|
||||
* @type {import('next').NextConfig}
|
||||
*/
|
||||
const nextConfig = {
|
||||
output: 'export',
|
||||
|
||||
// Optional: Change links `/me` -> `/me/` and emit `/me.html` -> `/me/index.html`
|
||||
// trailingSlash: true,
|
||||
|
||||
// Optional: Prevent automatic `/me` -> `/me/`, instead preserve `href`
|
||||
// skipTrailingSlashRedirect: true,
|
||||
|
||||
// Optional: Change the output directory `out` -> `dist`
|
||||
distDir: 'dist',
|
||||
}
|
||||
|
||||
module.exports = nextConfig
|
@ -1,4 +0,0 @@
|
||||
name = "my-website"
|
||||
compatibility_date = "2024-09-09"
|
||||
compatibility_flags = ["nodejs_compat"]
|
||||
pages_build_output_dir = ".vercel/output/static"
|
Loading…
Reference in new issue