Static export (#2)

pull/50/head
RakuJa 1 year ago committed by GitHub
parent 7ab65fe1a0
commit bc03191a0b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

3
.gitignore vendored

@ -33,3 +33,6 @@ yarn-error.log*
*.tsbuildinfo
.gitattributes
.idea
dist

@ -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…
Cancel
Save