-
-
Save hkkcngz/0fcb775ee2d63d16ba452bfcae08289f to your computer and use it in GitHub Desktop.
For outputting static HTML files from Next.js that any server can easily host (I was integrating with an old WordPress site for the rest of the domain)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @type {import('next').NextConfig} | |
*/ | |
const nextConfig = { | |
output: "export", | |
trailingSlash: true, | |
images: { unoptimized: true } | |
} | |
module.exports = nextConfig |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment