From f11c6406e6a3363f6895f55ccf12060f77883504 Mon Sep 17 00:00:00 2001 From: Florian Lefebvre Date: Tue, 30 Apr 2024 14:47:38 +0200 Subject: [PATCH] temp: log --- package/src/sitemap/generate-sitemap.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/package/src/sitemap/generate-sitemap.ts b/package/src/sitemap/generate-sitemap.ts index f4b41a6..c4fae1c 100644 --- a/package/src/sitemap/generate-sitemap.ts +++ b/package/src/sitemap/generate-sitemap.ts @@ -71,6 +71,16 @@ export function generateSitemap( sitemapOptions?.dynamicParams, ).find((e) => e.locale === equivalentRoute.route.locale); + // TODO: remove + console.dir( + { + page, + options, + sitemapOptions: normalizeDynamicParams(sitemapOptions?.dynamicParams), + }, + { depth: null }, + ); + if (!options) { // A dynamic route is not required to always have an equivalent in another language eg. // en: /blog/a