From c9ccdab3f52cfb85e15125df191ab6278572d8c2 Mon Sep 17 00:00:00 2001 From: SivaramPg Date: Mon, 16 Dec 2024 18:46:19 +0530 Subject: [PATCH] refactor: Remove 'output' property from sitemap and Next.js configuration --- next-sitemap.config.js | 1 - next.config.mjs | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/next-sitemap.config.js b/next-sitemap.config.js index 17f631d..32e3b8e 100644 --- a/next-sitemap.config.js +++ b/next-sitemap.config.js @@ -1,7 +1,6 @@ /** @type {import('next-sitemap').IConfig} */ const sitemapConfig = { siteUrl: "https://swapi.info", - output: "export", generateIndexSitemap: false, exclude: [ "/api/*", diff --git a/next.config.mjs b/next.config.mjs index 3579e30..1d61478 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -1,6 +1,4 @@ /** @type {import('next').NextConfig} */ -const nextConfig = { - output: "export", -} +const nextConfig = {} export default nextConfig