fix next start failures due to output: export setting

Fails with:

Error: "next start" does not work with "output: export" configuration. Use "npx serve@latest out" instead.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2024-11-19 00:21:07 +07:00
parent b8088f36b7
commit b537766fd5
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4

View File

@ -11,7 +11,10 @@ const withMDX = createMDX({
/** @type {import('next').NextConfig} */ /** @type {import('next').NextConfig} */
const nextConfig = { const nextConfig = {
output: 'export', /* Breaks currently used 'next start' due to:
* Error: "next start" does not work with "output: export" configuration.
* Use "npx serve@latest out" instead. */
//output: 'export',
trailingSlash: true, trailingSlash: true,
images: { images: {
unoptimized: true, unoptimized: true,